in reply to Generating lists from a charset
However, that's 238,328 elements. You might want to use glob in a scalar context, such as:my $charset = '{' . join(',', '0'..'9', 'A'..'Z', 'a'..'z') . '}'; my @charlist = glob( $charset x 3 );
while my $list ( glob( $charset x 3 ) ) { do_something_with($list); }
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Generating lists from a charset
by BrowserUk (Patriarch) on Dec 23, 2005 at 20:24 UTC | |
by QM (Parson) on Dec 24, 2005 at 14:44 UTC | |
by BrowserUk (Patriarch) on Dec 24, 2005 at 16:02 UTC | |
by QM (Parson) on Dec 25, 2005 at 20:53 UTC | |
|
Re^2: Generating lists from a charset
by RQZ (Acolyte) on Dec 23, 2005 at 23:09 UTC |