Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 perusing the Monastery: (10)
As of 2016-09-27 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (511 votes). Check out past polls.