|Perl Monk, Perl Meditation|
map a hash with a default value or excludeby kayahk (Initiate)
|on Sep 13, 2011 at 00:13 UTC||Need Help??|
kayahk has asked for the
wisdom of the Perl Monks concerning the following question:
this has probably been asked multiple times, but i have a config file in the form of:
sometimes value the is missing, is there a way to exclude the key itself or add a default value to the key using map'ing.
this is the simple code i currently have: