Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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
Node Status?
node history
Node Type: note [id://582215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-02-27 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?