Subject: | Eliminate Warnings For Undefined Values |
Date: | Sun, 5 Feb 2006 19:14:15 -0800 |
To: | bug-config-std [...] rt.cpan.org |
From: | David Wheeler <dwheeler [...] cpan.org> |
If a setting that I'm writing to my config file is set to a value of
'undef', I get warnings:
Use of uninitialized value in substitution (s///) at /usr/local/
lib/perl5/site_perl/5.8.7/Config/Std.pm line 78.
The attached patch adds a test for this warning and fixes it. It adds
a dependency on Test::NoWarnings, but I think that it's worth it.
Best,
David
Message body is not shown because sender requested not to inline it.