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

Creating tuples based on sets

by waxmop (Beadle)
on Apr 16, 2003 at 14:41 UTC ( #250910=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://250910]
Approved by mojotoad
Front-paged by tye
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2021-03-04 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (106 votes). Check out past polls.

    Notices?