good evening list.
thanks for the replies and sorry that i couldn't find the time to reply
sooner. sadly i'm still in a rush and haven't tried all of your
solutions, hope i will get to it soon. for now i just go with one, so i
can get the stuff i wanted to work.
still curious about the other thro
mark berger <[EMAIL PROTECTED]> writes:
> hey list. i stuck with gererating a wordlist from a changing
> multidimensional array. each entry in the array contains a list with the
> possible values.
>
> fe:
>
> @wordlayout = ((a, b),# possible values for 1st char
>(c),
Adriano Ferreira wrote:
> On 9/29/05, mark berger <[EMAIL PROTECTED]> wrote:
>>hey list. i stuck with gererating a wordlist from a changing
>>multidimensional array. each entry in the array contains a list with the
>>possible values.
>
> I am bit rusty, because it took me a little too long to make
On 9/29/05, mark berger <[EMAIL PROTECTED]> wrote:
> hey list. i stuck with gererating a wordlist from a changing
> multidimensional array. each entry in the array contains a list with the
> possible values.
I am bit rusty, because it took me a little too long to make it work,
but here is a recurs
On Thu, Sep 29, 2005 at 07:26:51PM +0200 mark berger wrote:
> hey list. i stuck with gererating a wordlist from a changing
> multidimensional array. each entry in the array contains a list with the
> possible values.
>
> fe:
>
> @wordlayout = ((a, b),# possible values for 1st char
On Sep 29, mark berger said:
hey list. i stuck with gererating a wordlist from a changing
multidimensional array. each entry in the array contains a list with the
possible values.
You want a "cartesian cross product". And there's a module out there that
does just that: Set::CrossProduct.
Mark,
I like to use glob for such tasks.
perldoc -f glob
perldoc File::Glob
bash-2.05b$ perl -le 'print for glob ("{a,b}{c}{d,e,f}")'
acd
ace
acf
bcd
bce
bcf
Regards,
Scott
PS: I apologize for the top post.
-Original Message-
From: mark berger [mailto:[EMAIL PROTECTED]
Sent: Thursd