Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Generating combinatorial strings

by gmargo (Hermit)
on Jan 25, 2010 at 20:22 UTC ( [id://819583]=note: print w/replies, xml ) Need Help??


in reply to Generating combinatorial strings

Iterator::Array::Jagged

use Iterator::Array::Jagged; my @data = ( [ 1, 2, 3 ], [ 1, 2, ], [ 1, 2, 3 ], ); my $iter = Iterator::Array::Jagged->new( data => \@data ); while (my @set = $iter->next) { print join("", reverse @set)."\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-20 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found