6 use inc::Module::Install '1.06';
8 my $use_pp = $ENV{DEVEL_PEEK_POKE_USE_PP} || ! can_cc();
10 $use_pp = 1; # FIXME - if someone writes the XS, this will no longer be true
12 if ($use_pp and ($] =~ /^5.(\d{3})/)[0] % 2) {
13 die "Instalation will need Devel::PeekPoke::PP, which does not work (by design) on development perls ($])\n";
16 # the XS version (when written) should work fine on 5.6
17 perl_version $use_pp ? '5.008001' : '5.006';
19 test_requires 'Test::More' => '0.88'; # done testing
20 test_requires 'Test::Exception' => '0.31'; # non-segfaulting caller()
22 all_from 'lib/Devel/PeekPoke.pm';
24 homepage 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Devel-PeekPoke.git';
25 resources 'IRC' => 'irc://irc.perl.org/#pp';
26 resources 'license' => 'http://dev.perl.org/licenses/';
27 resources 'repository' => 'git://git.shadowcat.co.uk/p5sagit/Devel-PeekPoke.git';
28 resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-PeekPoke';