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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-05-23 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (465 votes), past polls