Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Numerically generate the perl sequence 1, 11, 111, ....

by TimToady (Parson)
on Oct 12, 2008 at 14:27 UTC ( #716679=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        1,11,111,1111 ... { $^prev * 10 + 1 }
    
  2. or download this
        1,11,111,111 ... *
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://716679]
help
Chatterbox?
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-06-24 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (558 votes). Check out past polls.