Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
[p5sagit/Devel-Declare.git] / Makefile.PL
CommitLineData
94caac6e 1use inc::Module::Install 0.67;
2
0d267aac 3use 5.008001;
daf38100 4
94caac6e 5name 'Devel-Declare';
6all_from 'lib/Devel/Declare.pm';
7
323ae557 8requires 'Scalar::Util';
94caac6e 9build_requires 'Test::More';
b9a35c84 10build_requires 'B::Hooks::EndOfScope';
94caac6e 11
e2c10f81 12postamble(<<'EOM');
13$(OBJECT) : stolen_chunk_of_toke.c
14EOM
15
94caac6e 16WriteMakefile(
17 dist => {
18 PREOP => 'pod2text lib/Devel/Declare.pm >$(DISTVNAME)/README'
19 }
20);