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.
Comment on
Re: sprintf and for loop weirds???
Select
or
Download
Code
In Section
Seekers of Perl Wisdom