Skip Menu |

This queue is for tickets about the Eval-Context CPAN distribution.

Report information
The Basics
Id: 36331
Status: resolved
Priority: 0/
Queue: Eval-Context

People
Owner: Nobody in particular
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: (no value)



Subject: test failure
[guillomovitch@n2 Eval-Context-0.06]$ perl -I lib/ t/012_safe.t ok 1 - unsafe code, using default safe ok 2 - unsafe code ok 3 - Invalid SAFE definition ok 4 - PRE_SAFE_CODE error Use of uninitialized value $columns in string eq at /usr/lib/perl5/vendor_perl/5.10.0/Data/TreeDumper.pm line 746. ok 5 - PRE_SAFE_CODE ok 6 - use strict by default ok 7 - USE_STRICT ok 8 - COMPARTMENT ok 9 - first eval package Use of uninitialized value $columns in string eq at /usr/lib/perl5/vendor_perl/5.10.0/Data/TreeDumper.pm line 746. ok 10 - Test STDOUT ok 11 - sub pushed into safe context ok 12 - new sub pushed into same safe context ok 13 - access to persistent functionality ok 14 - void context ok 15 - right value in scalar context ok 16 - scalar context ok 17 - right value in array context ok 18 - array context ok 19 - die within a safe not ok 20 - croak within a safe # TODO SAFE and croak # Failed (TODO) test 'croak within a safe' # at t/012_safe.t line 228. # expecting: Regexp ((?-xism:croaked withing safe)) # found: normal exit 1..20 This happens with perl 5.10 on mandriva linux.
Version 0.08 should resolve the problem. Note that there were errors in sub modules. The new version will require Safe 2.16. It may take a few weeks before 0.08 hits CPAN. Please let me know if the error still exists then.