Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: sprintf and for loop weirds???

by echo (Pilgrim)
on Nov 04, 2001 at 17:17 UTC ( #123180=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2019-04-21 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!