Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: TMTOWTDI Puzzle: Generating a range of numbers

by CubicSpline (Friar)
on Dec 19, 2001 at 04:03 UTC ( #132979=note: print w/replies, xml ) Need Help??


in reply to TMTOWTDI Puzzle: Generating a range of numbers

@a = (); $_ = 'abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjj'; foreach $digit (a..j) { push @a, eval "tr/$digit/x/"; }

~CS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132979]
help
Chatterbox?
[Corion]: Hi marto!
choroba greets
[choroba]: .org and .com not working for me today, only .net
Eily is connected on .org

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-10-23 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (277 votes). Check out past polls.

    Notices?