Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: sort and undef

by gjb (Vicar)
on Dec 12, 2005 at 13:44 UTC ( #516011=note: print w/ replies, xml ) Need Help??

in reply to sort and undef

You can always supply your own sort criterium in the form of a piece of code with the variables $a and $b that such that undef is larger than any other value. For more information, see the sort() docs.

Hope this helps, -gjb-

Comment on Re: sort and undef
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2015-07-31 12:52 GMT
Find Nodes?
    Voting Booth?

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

    Results (277 votes), past polls