Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: TMTOWTDI Puzzle: Generating a range of numbers

by Rudif (Hermit)
on Dec 19, 2001 at 04:54 UTC ( #132988=note: print w/ replies, xml ) Need Help??


in reply to TMTOWTDI Puzzle: Generating a range of numbers

Here is my first shot

use strict; sub shoot{my@shot=split//,shift;shift@shot;return unless@shot;(shoot(j +oin'',@shot),scalar@shot)} print "@{[shoot('onetimesten')]}\n"
Rudif
Comment on Re: TMTOWTDI Puzzle: Generating a range of numbers
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-04-30 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.