The kind of for loop you're trying to write takes its terms separated by semicolons:
for ( my $i = init(); $i != condition(); $i++ ) {}
What you actually wrote here has commas instead, so it's taking that as a list of three things to loop over.
for ( 1, 2, 3 ) {}
So change those commas to semicolons, and that should help.
In reply to Re: Need Debug Help
by kyle
in thread Need Debug Help
by naveed010
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |