On Fri, 29 Jun 2001, dave hoover <[EMAIL PROTECTED]> wrote,
> When I added -T to an existing Perl script, I got the
> error message:
>
> Too late for "-T" option at main.cgi line 1.
>
> Is this a common error message with -T? What am I
> doing wrong?
Usually yes, when you invoke the script from the command line
like,
perl main.cgi
To avoid the message, you have to supply the -T switch directly,
perl -T main.cgi
Or, if you're in the unix environment,
./main.cgi
provided that the script has appropriate mode.
You can find the explanation about the message in 'perldiag'
manual page by issueing,
perldoc perldiag
and search the relevant string.
hth;
__END__
--
s::a::n->http(www.trabas.com)