Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by jwkrahn (Monsignor)
on Oct 10, 2008 at 10:14 UTC ( #716411=note: print w/ replies, xml ) Need Help??


in reply to Re: Generate the perl sequence 1, 11, 111, ....
in thread Generate the perl sequence 1, 11, 111, ....

Or more simply:

perl -le'print while s/$/1/'


Comment on Re^2: Generate the perl sequence 1, 11, 111, ....
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-08-31 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (356 votes), past polls