Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: difference between for and foreach?

by monk2b (Pilgrim)
on Jan 20, 2001 at 19:50 UTC ( [id://53217]=note: print w/replies, xml ) Need Help??


in reply to difference between for and foreach?

For allows you to do something a certain number of times
and
Foreach allows you to do something to each value
learning too

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-03-28 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found