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

Re: Creating tuples based on sets

by adrianh (Chancellor)
on Apr 16, 2003 at 21:50 UTC ( [id://251059]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Set::CrossProduct;
    
    ...
    
    my @set = qw(A B C); 
    my $output = mk_tuples(@set, 2);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found