Perl: the Markov chain saw | |
PerlMonks |
Re^2: Unexpected parser errorby saintmike (Vicar) |
on Feb 22, 2007 at 07:15 UTC ( [id://601496]=note: print w/replies, xml ) | Need Help?? |
You forgot to put the parentheses on the end of function().No, I didn't. That's why I wrote "Sure, function can be disambiguated to function()". My point: If 'function' is known as a function name at this point, perl should be smart enough to throw out the possibility that "function / 4" is a regular expression because that's an insane assumption.
In Section
Seekers of Perl Wisdom
|
|