Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 studying the Monastery: (5)
As of 2015-07-04 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls