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: 18793
Status: resolved
Priority: 0/
Queue: YAML

Owner: Nobody in particular
Requestors: at [...]

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

Subject: 'eval { use B::Deparse }' is wrong
Download (untitled) / with headers
text/plain 520b
'use' is executed at compile time and is not affected by eval. You should use 'eval { require ... }' instead. --- YAML-0.58/lib/YAML/ 2006-02-02 07:04:03 +0000 +++ YAML-0.58/lib/YAML/ 2006-04-20 02:41:19 +0000 @@ -117,7 +117,7 @@ sub yaml_dump { } else { bless $value, "CODE" if $class; - eval { use B::Deparse }; + eval { require B::Deparse }; return if $@; my $deparse = B::Deparse->new(); eval { -- Alexey Tourbin ALT Linux Team
Download (untitled) / with headers
text/plain 246b
This issue has been copied to: 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.
Released 1.20

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

Please report any issues with to