in reply to Re^3: Syntax checking without BEGIN blocks
in thread Syntax checking without BEGIN blocks
Sure. It needs to include files that contain code definitions. I get that. But why does it have to run non-defining/including code to do that? Surely there's an important difference between choosing to run a sub definition to define a function and or prototype, and choosing to run everything, including calls to unlink()!
Are you saying it's impossible to write a proper syntax checker in perl? I really hope that's not true. I just want a checker that can check the program's syntax, without doing anything else. No trying to access databases, no writing to the filesystem, just a simple check to see if the code will run.
Is that really too much to ask? :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Syntax checking without BEGIN blocks
by eric256 (Parson) on Apr 28, 2006 at 15:35 UTC | |
|