Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Two simple code style advice questions

by Anonymous Monk
on Jan 16, 2013 at 10:44 UTC ( #1013556=note: print w/replies, xml ) Need Help??

in reply to Two simple code style advice questions

For 1st case, if I have the chance to define a spanking new hash, I would use the map version. Else, I slightly prefer the 2d version using the hash slice.

For 2d case, I would prefer the ? : version unless the context is of mathematics. Then again I would rather use the module.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-10-28 22:10 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.