Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: TMTOWTDI Puzzle: Generating a range of numbers

by Juerd (Abbot)
on Dec 19, 2001 at 04:07 UTC ( #132981=note: print w/replies, xml ) Need Help??


in reply to Re: TMTOWTDI Puzzle: Generating a range of numbers
in thread TMTOWTDI Puzzle: Generating a range of numbers

I just couldn't resist it... When I saw they used fingers to count, I immediately thought of counting candles...
my @numbers = ( ['|'] , ['|','|'] , ['|','|','|'] , ['|','|','|','|'] , ['|','|','|','|','|'] , ['|','|','|','|','|','|'] , ['|','|','|','|','|','|','|'] , ['|','|','|','|','|','|','|','|'] , ['|','|','|','|','|','|','|','|','|'] , ['|','|','|','|','|','|','|','|','|','|'] , ) ; foreach ( @numbers ) { print scalar @$_; print "\n"; }

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132981]
help
Chatterbox?
[Discipulus]: good morning monks!
[Your Mother]: Mooooooooooorning.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-07-21 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.