Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by quester (Vicar)
on Oct 10, 2008 at 09:34 UTC ( #716402=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mysubroutine {block} @list;
    
  2. or download this
    map (sub { "1" x $_ }, (1..10));
    
  3. or download this
    perl -wle 'print prototype("CORE::map")'
    
  4. or download this
    Use of uninitialized value in print at -e line 1.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-08-23 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls