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.