in reply to Re^4: initialize all values in a hash
in thread initialize all values in a hash
to avoid those annoyingly hard-to-track-down bugs where you've typoed a hash key.my $hashref = Tie::Hash::Vivify->new( sub { confess("No auto-vivifying!\n".Dumper(\@_)) } )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: initialize all values in a hash
by tobyink (Canon) on May 18, 2012 at 16:49 UTC |