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