Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: My 'perldar' tells me there is a 'better' solution for this list operation

by mreece (Friar)
on Nov 04, 2006 at 05:55 UTC ( [id://582215]=note: print w/replies, xml ) Need Help??


in reply to My 'perldar' tells me there is a 'better' solution for this list operation

because there's more than several ways to do it..
my @l3 = map { my $f = $_; ((grep { $f eq $_ } @l2),'null')[0] } @l1;
  • Comment on Re: My 'perldar' tells me there is a 'better' solution for this list operation
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found