Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

For loop problem

by srawls (Friar)
on Jun 03, 2001 at 22:24 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-19 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found