Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Specify sort method on the fly

by eric256 (Parson)
on Jan 21, 2010 at 15:05 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818747]
[Lady_Aleena]: shmem, sorry I was outside for a moment moving my car out of hubby's way.
[Lady_Aleena]: shmem, there is ONE song which throws a wrench in the works for both MP3::Info and MP3::Tag.
[shmem]: Lady_Aleena: fix it, or delete it ;-)
[Lady_Aleena]: shmem, I'm not sure how.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-04-23 22:08 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.