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
!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
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.