You need to have -T on the command line as well:

perl -cT script

To find out why, 'perldoc perlsec'

Cheers,
Kevin

On Wed, May 29, 2002 at 10:51:45AM -0700, Rob Roudebush ([EMAIL PROTECTED]) said 
something similar to:
> 
>  When I run perl -c myscript.cgi to test the syntax or perl -w ..., it produces 
>this: Too late for "-T" option at maintenance.cgi line 1 (my line 1 is just the 
>shebang line with the -T option). Does this mean that something is wrong?
> -Rob
>   Carl Franks <[EMAIL PROTECTED]> wrote: Hi,
> This is how I do it.
> 
> #!/usr/bin/perl -wT
> use strict;
> my $conf;

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Politics is the entertainment branch of industry.
        -- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to