Welcome to the Monastery | |
PerlMonks |
Re: Unable to split this line of code (printf warning)by monarch (Priest) |
on Nov 24, 2005 at 22:43 UTC ( [id://511551]=note: print w/replies, xml ) | Need Help?? |
I tried this out myself, and it's a new one to me, silly Perl!
Your statement works fine if you ensure there's no space between the function name and the opening parenthesis. i.e: "printf(" works but "printf (" fails. I'd say this is a shortcoming in the perl interpreter. You were using valid syntax all along.. it's just that it seems perl doesn't like the whitespace in this situation..
In Section
Seekers of Perl Wisdom
|
|