4 # note - the tie() fallback will probably work on 5.6 as well,
5 # if you need to go that low - patches passing tests will be accepted
8 use inc::Module::Install '1.01';
10 my $use_pp = $ENV{B_HOOKS_EOS_USE_PP} || ! can_cc();
12 test_requires 'Test::More' => '0.88'; # done testing
13 test_requires 'Test::Exception' => '0.31'; # non-segfaulting caller()
15 test_requires 'Devel::Hide' => '0' if is_smoker();
17 # Adjust lib/B/Hooks/EndOfScope/WithFallback.pm if bumping this dep
18 requires 'Variable::Magic' => '0.34' unless $use_pp;
20 all_from 'lib/B/Hooks/EndOfScope/WithFallback.pm';
22 homepage 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/B-Hooks-EndOfScope-WithFallback.git';
23 resources 'IRC' => 'irc://irc.perl.org/#pp';
24 resources 'license' => 'http://dev.perl.org/licenses/';
25 resources 'repository' => 'git://git.shadowcat.co.uk/p5sagit/B-Hooks-EndOfScope-WithFallback.git';
26 resources 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=B-Hooks-EndOfScope-WithFallback';
33 return ( $ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING} )