Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Specify sort method on the fly

by eric256 (Parson)
on Jan 21, 2010 at 15:05 UTC ( [id://818747]=note: print w/replies, xml ) Need Help??


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

I tend to use references always, dunno why, habit i suppose. I like the way they look?


___________
Eric Hodges

Replies are listed 'Best First'.
Re^4: Specify sort method on the fly
by SuicideJunkie (Vicar) on Jan 21, 2010 at 16:32 UTC

    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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found