Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Combinations / permutations... not even sure what this is called

by johngg (Canon)
on Oct 29, 2011 at 11:44 UTC ( [id://934582]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    knoppix@Microknoppix:~$ perl -Mstrict -MData::Dumper -we '
    > my @arr;
    ...
             ]
           );
    knoppix@Microknoppix:~$
    
  2. or download this
    knoppix@Microknoppix:~$ perl -Mstrict -MData::Dumper -we '
    > my $idx;
    ...
             ]
           );
    knoppix@Microknoppix:~$
    
  3. or download this
    knoppix@Microknoppix:~$ perl -Mstrict -MData::Dumper -we '
    > my @arr;
    ...
    >       glob q{{red,blue}-{small,medium,large}};
    > print Data::Dumper->Dumpxs( [ \ @arr ], [ qw{ *arr } ] );'
    ...
    

Log In?
Username:
Password:

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

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

    No recent polls found