Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Ultra compact set searching

by kyle (Abbot)
on Nov 20, 2006 at 19:50 UTC ( [id://585119]=note: print w/replies, xml ) Need Help??


in reply to Ultra compact set searching

I don't know how you're doing the iterated version of and_maker, but if it's not List::Util::reduce, you might try that.
use List::Util qw( reduce ); my $result = reduce { $a & $b } @int_lists_great_and_small;

Log In?
Username:
Password:

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

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

    No recent polls found