Subject: | Safe-2.27 breaks Petal |
Recent CPAN tester failures, for example this:
http://www.cpantesters.org/cpan/report/07267724-b19f-3f77-b713-d32bba55d77f
are caused by Safe.pm 2.27, which now wraps code refs returned from reval().
The symptoms are
% perl -I ../Safe-2.27/blib/blib -I ../Safe-2.27/blib/arch
t/008_Quoted_Params.t
(in cleanup) Can't locate object method "process" via package
"Petal::Hash::Var" (perhaps you forgot to load "Petal::Hash::Var"?) at
lib/Petal/Hash.pm line 188.
not ok 1 - ran
# Failed test 'ran'
# at t/008_Quoted_Params.t line 24.
# [PETAL ERROR] Can't locate object method "process" via package
"Petal::Hash::Var" (perhaps you forgot to load "Petal::Hash::Var"?) at
lib/Petal/Hash.pm line 188.
# . Debug info written in /tmp/petal_debug.19258.1274642976.ofugvhtngi
at lib/Petal.pm line 484.
1..1
# Looks like you failed 1 test of 1.
As Safe-2.27 is bundled with Perl 5.12.1, this will bite quite many people.
Thanks for your work on Petal,
--
Niko Tyni (Debian Perl group)
ntyni@debian.org