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?