Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 chanting in the Monastery: (7)
As of 2014-12-25 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls