On Wed, Jul 11, 2001 at 12:21:10PM +0500, Rizwan wrote:
> I am looking for a module that checks the syntax of a perl script.

You don't need a module.  Assuming your script is named "test.pl":

    > perl -wc test.pl

if it complains, you have a compilation error, which includes syntax errors. 

If you're doing this from another Perl script you should probably read
perldoc perlvar about $^X.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

Reply via email to