--- 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]

Reply via email to