Keep It Simple, Stupid | |
PerlMonks |
Re: Syntax checking without BEGIN blocksby isotope (Deacon) |
on May 01, 2006 at 22:20 UTC ( [id://546783]=note: print w/replies, xml ) | Need Help?? |
PerlTidy can do some basic syntax checking without running the script through perl, but it's not perfect, because it's not running the script through perl. It can also optionally pass it through perl, which of course will execute the BEGIN blocks.
Your real problem is that you have a bad block of code in the module you want to check. Just what are you going to do with this unsafe code after you add your debug statement? I'd also offer the advice that being rude to people you ask for free help probably doesn't get you very far, but I doubt you'd take that advice. --isotope
In Section
Seekers of Perl Wisdom
|
|