Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Generating lists from a charset

by TedPride (Priest)
on Dec 24, 2005 at 00:38 UTC ( #518860=note: print w/ replies, xml ) Need Help??


in reply to Generating lists from a charset

use strict; use warnings; our @c = (0..9,'a'..'z','A'..'Z'); build(7); sub build { my ($n, $s) = @_; if (!--$n) { print "$s$_\n" for @c; return; } build($n, "$s$_") for @c; }


Comment on Re: Generating lists from a charset
Download Code
Re^2: Generating lists from a charset
by RQZ (Acolyte) on Dec 24, 2005 at 01:24 UTC
    :O
    Impressive!
    Recursion is always better, haha.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-07-26 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls