Welcome to the Monastery | |
PerlMonks |
Re: Code cleanup; how best to deal with: defined(%hash) is deprecated at...by boftx (Deacon) |
on May 22, 2014 at 05:04 UTC ( [id://1087057]=note: print w/replies, xml ) | Need Help?? |
I agree with davido above. The only thing I would say is that I find myself rarely using my %hash; anymore, preferring my $hashref = {}; instead. It doesn't directly help with the example problem given, but might help elsewhere if you are passing the data around a lot.
It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
In Section
Seekers of Perl Wisdom
|
|