Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 2016-07-27 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.