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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 396
Download (untitled) / with headers
text/plain 396b
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-30925-1334770181-976.76664-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 141
Download (untitled) / with headers
text/plain 141b
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-30927-1334865592-1926.76664-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 20
YAML/Mo fixed now...
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-30927-1334865592-1926.76664-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-30927-1334865592-1926.76664-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-30924-1334867399-1521.76664-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 79
On Thu Apr 19 15:59:52 2012, INGY wrote: Show quoted text
> YAML/Mo fixed now...
Thanks Ingy :)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.