Subject: | If PadWalker is available, its version must be >= 1.0 |
perl-5.8.7
Devel-Cycle-1.05
PadWalker-0.10
PadWalker releases prior to 1.0 do not provide the sub closed_over.
A possible patch:
--- lib/Devel/Cycle.pm.find_cycle 2006-05-18 12:17:27.000000000 -0600
+++ lib/Devel/Cycle.pm 2006-05-23 14:26:07.000000000 -0600
@@ -28,19 +28,22 @@
BEGIN {
require constant;
- constant->import( HAVE_PADWALKER => eval { require PadWalker; 1 } );
+ constant->import( HAVE_PADWALKER => eval { use version; require
PadWalker; version->new("$PadWalker::VERSION") ge '1.0' } );
}
sub import {