Search results for "dist:Hash-DefaultValue BOBO"
Hash::DefaultValue - create a hash where the default value ain't undef
Normally, if you try fetching a value from a hash where the key does not exist, you get undef. my %hash; if (defined $hash{foobar}) { say "this will not happen!"; } Hash::DefaultValue allows you to choose another value instead of undef. It tried to a...
TOBYINK/Hash-DefaultValue-0.007 - 10 Sep 2014 22:29:36 UTC