Skip Menu |

This queue is for tickets about the Config-YAML CPAN distribution.

Report information
The Basics
Id: 14625
Status: resolved
Priority: 0/
Queue: Config-YAML

People
Owner: mdxi [...] cpan.org
Requestors: x.config-yaml-bug [...] chatterjee.net
Cc:
AdminCc:

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



Subject: Config::YAML appears not to be $_ safe
I'm running Config::YAML 1.41 with YAML 0.39 on perl 5.6.1. Running Config::YAML's new() method appears to clobber the contents of $_. Running the following code leaves the final value of $_ as undef, not 100. $_ = 100; my $c = Config::YAML->new( config => '/dev/null' ); # intended to be a simple no-op print $_; Your probably to use "local $_" wherever $_ may be manipulated in the code.
Simple fix; done, a new test added, and uploaded to the CPAN (as version 1.42). Thanks!