Keep It Simple, Stupid | |
PerlMonks |
Re^3: Syntax error with use constant and switch with comment betweenby BrowserUk (Patriarch) |
on Dec 06, 2009 at 18:33 UTC ( [id://811352]=note: print w/replies, xml ) | Need Help?? |
The problem with the Switch module is that it use a source filter to implement the syntax, but the parser is not very robust and that means it is easily confused. Simply best not to use it. Bewildering that it was ever made a part of the core. 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.
In Section
Seekers of Perl Wisdom
|
|