Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: tweaking of perldoc function (sorting/preserving order)

by lodin (Hermit)
on Jan 18, 2008 at 08:44 UTC ( [id://663029]=note: print w/replies, xml ) Need Help??


in reply to tweaking of perldoc function (sorting/preserving order)

How do you define order for intersection? Take this for instance:

my @a = (1,2,3); my @b = reverse @a;
The intersection will now be all element in @a (or @b), but in which order?

lodin

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found