Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 surveying the Monastery: (4)
As of 2014-07-10 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls