in reply to sprintf and for loop weirds???
When checked with perl -cw, your first snippet yields:
syntax error at foo line 6, near "];"
The sprintf call is missing a closing parenthesis.
In Section
Seekers of Perl Wisdom
in reply to sprintf and for loop weirds???
syntax error at foo line 6, near "];"
The sprintf call is missing a closing parenthesis.