|Pathologically Eclectic Rubbish Lister|
Hard syntax error or disambiguable parsing?by BrowserUk (Pope)
|on Jan 29, 2009 at 02:59 UTC||Need Help??|
BrowserUk has asked for the
wisdom of the Perl Monks concerning the following question:
The first of these loops is legal perl:
The second notionally equivalent construct produces:
Is this an absolute "can't be done" syntax error, or one of Perl's ambiguous parsing errors that can be avoided by using some syntax (like unary + or ;) to disambiguate it?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.