Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Syntax checking without BEGIN blocks

by isotope (Deacon)
on May 01, 2006 at 22:20 UTC ( [id://546783]=note: print w/replies, xml ) Need Help??


in reply to Syntax checking without BEGIN blocks

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://546783]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found