Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Code cleanup; how best to deal with: defined(%hash) is deprecated at...

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1087057]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found