[Israel.pm] BruteForcing function

amit sides DiAblo_2 at 012.net.il
Mon Dec 20 07:17:37 PST 2004


Gaal Yahas wrote:

>    @alphabet = ( 'a' .. 'z', 'A' .. 'Z', '0' .. '9', qw/!_-/ );
>     for (0 .. $#alphabet) {
>         print $alphabet[$_];
>     }

i thought about it.....so we solve the first problem ...now i need to 
solve the sec one
i dont see how this helps me show all the possible option of combinations
do you have an idea how to print @alphabet chars by loops ? how to 
arrange the loops ?

>     print for @alphabet;
>
> Or even (exploiting $,) just:
>
>     print @alphabet;
>




More information about the Perl mailing list