is quite natural, andfor (@array) { # do someting with $_ }
I'm still searching for perl wisdom to find different behaviour between for and foreach
In reply to RE: Re: for vs foreach
by vkonovalov
in thread for vs foreach
by vkonovalov
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |