No, you pointed me to an Acme (joke ) module of some sort, which I took for a troll attempt.
Obviously; you had absolutely no curiosity about how it worked nor why I suggested that it could (in my mind, reliably) help you not run BEGIN blocks. (Now I don't guarantee that that will solve your problem, as the presence of eval and symbol table manipulation changes the rules of the game.)
I stand by my stance that the perl designers made a bad choice, and should fix it however they need to.
I don't know any Perl designer who agrees with you, so I say with some confidence that that's never going to happen. Good luck with Anonyperl.
| [reply] [d/l] [select] |
As mentioned right at the start of this thread: in its current state Perl is unable to syntax check code inside BEGIN blocks without executing that code. And that is unlikely to change within the lifetime of your current project. Given that you have $some_quantity of code to verify, all you can really do is follow the advice given by TedPride and chromatic earlier, or come up with some other workaround. Assuming, of course, that you want to get the job done.
If, however, you just want to vent, may I refer you to something which may explain the "vehemence" you're seeing.
Good luck.
| [reply] |