Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: hash with both values and keys unique to each other

by Anonymous Monk
on Jul 12, 2012 at 22:14 UTC ( #981519=note: print w/ replies, xml ) Need Help??


in reply to Re^2: hash with both values and keys unique to each other
in thread hash with both values and keys unique to each other

Since your structure is

loop { if (condition) { next; } # no else! other code; }

You don't actually need the else block. Removing it will make your code look quite a bit more clean.


Comment on Re^3: hash with both values and keys unique to each other
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-05-05 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (127 votes), past polls