Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

(kudra) Re: difference between for and foreach?

by kudra (Vicar)
on Jan 20, 2001 at 19:52 UTC ( [id://53218]=note: print w/replies, xml ) Need Help??


in reply to difference between for and foreach?

In Perl, for and foreach can be used interchangably.

In the future, you might try seeing if the question has already been addressed by using 'search'. For example, this question was answered here, which I found by simply putting 'for foreach' in the search box.

  • Comment on (kudra) Re: difference between for and foreach?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-23 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found