Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

For loop problem

by srawls (Friar)
on Jun 03, 2001 at 22:24 UTC ( #85347=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for(++$....$.++.$.)
    {print "$_\n"}
    
  2. or download this
    for(++$. .. $.++ . $.) #note before I had used ... instead of ..
    
  3. or download this
    ++$.      = 1 
    $.++ . $. = 12 #the concatenation of 1 and 2.
    
  4. or download this
    for(++$....$..$.) #note took out the second ++
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-02-13 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (437 votes), past polls