Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Hash of arrays of hashes

by NetWallah (Abbot)
on Apr 14, 2013 at 21:09 UTC ( #1028650=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Hash of arrays of hashes
in thread Hash of arrays of hashes

Agreed that your code is shorter/better. Disagree that mine has a double-negative.

             "I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
        -- Dr. Cox, Scrubs


Comment on Re^3: Hash of arrays of hashes
Re^4: Hash of arrays of hashes
by AnomalousMonk (Abbot) on Apr 14, 2013 at 22:42 UTC
    Disagree that mine has a double-negative.

    Perhaps a matter of interpretation here. What I was thinking was that  unless can be re-written as  if not and  ref $current_port eq "" as  not ref $current_port yielding
        next if not not ref $current_port;

    Perhaps I should have written "implicit double negative". :)

      Perhaps I should have written "implicit double negative". :)

      unless is pronounced "unless" not "if not"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-11-28 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (193 votes), past polls