This could be. When running under

#!/usr/bin/perl -wT

Too late for -T

I'm running 626 on Win2K Pro IIS

-----Original Message-----
From: "Curtis Poe"<[EMAIL PROTECTED]>
To: "CGI Beginners"<[EMAIL PROTECTED]>
Date: Wed Aug 15 09:50:54 PDT 2001
Subject: Re: CGI on IIS <- bad idea?

>--- Mark Bergeron <[EMAIL PROTECTED]> wrote:
>> Taint won't run on Win32 anyway.
>
>Mark,
>
>This is actually a common misconception.  Taint checking works just fine on Win32 
>using
>ActiveState Perl.  Try the following from the command line:
>
>    perl -Te "$x=shift;open TEST, qq/>$x/" test.txt
>
>You will get the following error message:
>
>    Insecure dependency in open while running with -T switch at -e line 1.
>
>Taint checking is problematic on Win32 systems *usually* because of the way the 
>programs are run. 
>If you type "perl somescript.pl" and you have the -T switch on the shebang line, you 
>will get the
>"Too late for "-T" option at somescript.pl line 1." error.  The easiest way to get 
>around this is
>to explicitly pass the -T switch to the perl interpreter:
>
>    perl -T somescript.pl
>
>If this doesn't work for you, what version of Perl are you using?
>
>Cheers,
>Curtis Poe
>
>=====
>Senior Programmer
>Onsite! Technology (http://www.onsitetech.com/)
>"Ovid" on http://www.perlmonks.org/
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>-- 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

/~_. _ | _ _  _  _ 
\_/|(_||| | |(_)| |
     _|
___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com



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

Reply via email to