Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: looking for inspiration on 'compare'

by fizbin (Chaplain)
on Mar 03, 2005 at 14:07 UTC ( [id://436211]=note: print w/replies, xml ) Need Help??


in reply to looking for inspiration on 'compare'

when i try to read out key/value pairs, i got "undef" on values for which comparison function returned -1.
This statement doesn't make sense. A comparison function is passed two keys. Yet when you read out key/value pairs, you get one key at a time. You can't look at a key and say "Ah, for this key, the comparison function returned -1". You can look at a pair of keys and say "For this pair of keys, in this order, the comparison function returned -1." But as it stands, your statement makes no sense.
-- @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/

Log In?
Username:
Password:

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

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

    No recent polls found