Perl-Sensitive Sunglasses | |
PerlMonks |
Config::Std blank entry in hash, and blank lineby carcassonne (Pilgrim) |
on Dec 14, 2005 at 13:46 UTC ( [id://516639]=perlquestion: print w/replies, xml ) | Need Help?? |
carcassonne has asked for the wisdom of the Perl Monks concerning the following question:
Howdy,
Using the configuration file below I obtain a blank entry when listing all the keys in %config. Also, when adding a new section, a blank line separates the section name from the entry of that section, like this:
Here's the test code:
And here's the configuration file (platform is Linux - i.e. only newlines):
And here's the beginning of Dumper:
$VAR1 and $VAR2 are holding nothing. Does this have an effect on the extra newline between added section name and section entry ?
Back to
Seekers of Perl Wisdom
|
|