Use B::Hooks::EndOfScope instead of %^H and Scope::Guard.
[p5sagit/Devel-Declare.git] / Makefile.PL
index 0aa54c8..b41dbd1 100644 (file)
@@ -7,7 +7,7 @@ all_from 'lib/Devel/Declare.pm';
 
 requires 'Scalar::Util';
 build_requires 'Test::More';
-build_requires 'Scope::Guard';
+build_requires 'B::Hooks::EndOfScope';
 
 postamble(<<'EOM');
 $(OBJECT) : stolen_chunk_of_toke.c