Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Re: Array Comparison

by Roger (Parson)
on Dec 22, 2003 at 23:12 UTC ( [id://316520]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Array Comparison
in thread Array Comparison

my @uniq = sort keys %{{map {$_ => 1} @cleaned}};
or you could combine two statements in one (not recommended though :-) ...
my @uniq = sort keys %{{map {$_ => 1} grep{not exists $exclude{$_}}@words}};

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2024-04-18 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found