Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: sort and undef

by Hena (Friar)
on Dec 12, 2005 at 13:42 UTC ( [id://516010]=note: print w/replies, xml ) Need Help??


in reply to sort and undef

Do you mean like this:
($result) = sort grep{defined()} ($val1, $val2) ;
Note. Usually it might be a good idea to tell whats the wanted result.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found