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.