Skip Menu |

This queue is for tickets about the Safe CPAN distribution.

Report information
The Basics
Id: 76664
Status: open
Priority: 0/
Queue: Safe

People
Owner: RGARCIA [...] cpan.org
Requestors: ovid [...] cpan.org
Cc:
AdminCc:

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



Subject: Safe.pm breaks YAML
This: use Safe; BEGIN { Safe->new } use YAML 0.80; That can actually be reduced to this one-liner: perl -e 'BEGIN { \&main:: } use YAML 0.80' Bad logic in the top of your code leaves empty strings in the $default_share variable, causing &main:: to be shared (and very strange YAML::Mo code didn't help). Grepping out the empty strings makes the error go away. Cheers, Ovid
As a side note, Mo is one vector of propagation of the issue. I have a fix in this Pull Request https://github.com/ingydotnet/mo-pm/pull/16
YAML/Mo fixed now...
On Thu Apr 19 15:59:52 2012, INGY wrote: Show quoted text
> YAML/Mo fixed now...
Thanks Ingy :)