Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Specify sort method on the fly

by SuicideJunkie (Vicar)
on Jan 21, 2010 at 16:32 UTC ( #818758=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Specify sort method on the fly
in thread Specify sort method on the fly

I go for references too. Couple of justifications:

Since I almost always want to pass by reference to avoid copying, and often want to pass in multiple arrays or hashes, having a reference is a good default.
Not having non-reffed arrays and hashes floating around means more consistency in the use of $ and -> almost everywhere.


Comment on Re^4: Specify sort method on the fly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2015-07-30 17:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls