Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Array Comparison

by mcogan1966 (Monk)
on Dec 22, 2003 at 18:54 UTC ( [id://316446]=note: print w/replies, xml ) Need Help??


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

Excellent, this works much faster.

Now, if I can just sort and make the list with just unique entries, I'm all set. Thanks.

Replies are listed 'Best First'.
Re: Re: Re: Re: Array Comparison
by Roger (Parson) on Dec 22, 2003 at 23:12 UTC
    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://316446]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found