Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 8795
Status: open
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: frans [...] tempera.nl
Cc:
AdminCc:

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



Subject: !perl/code blocks are evaluated in package main
Download (untitled) / with headers
text/plain 420b
!perl/code-blocks are evaluated in package main and not in the package of the caller of Load/load. This make this feature broken for use with mod_perl # line 1067-1071 of YAML.pm (0.35): # Support for !perl/code;deparse sub _load_perl_code { my ($node, $class) = @_; if ($o->{LoadCode}) { my $code = eval "package main; sub $node"; I hope this is enough info. I am a newbe at bugreports. Frans Abels
Download (untitled) / with headers
text/plain 246b
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/41 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.


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.