Re: Insecure dependency in glob ... with -T switch

2005-01-21 Thread Scott R. Godin
Zentara wrote: On Mon, 17 Jan 2005 14:54:58 -0600, [EMAIL PROTECTED] (David Gilden) wrote: Taint mode can be circumvented pretty easily, but you need to be careful. Read perldoc perlsec. You probably either need to change $ENV{PATH} to '.' , or the cwd. You may need to give it a full pathname.

RE: Insecure dependency in glob ... with -T switch

2005-01-17 Thread David Gilden
Hi, The code below works fine if run like: using PERL version 5.00503 #!/usr/bin/perl -w but with #!/usr/bin/perl -wT I am still getting error: Insecure dependency in glob while running with -T switch Can I turn off 'tainting' for this block { # turn off taint for this block only

RE: Insecure dependency in glob ... with -T switch

2005-01-16 Thread David Gilden
I thought this would do it, but I am at stopping point: #!/usr/bin/perl -wT my @filesToRemove = map {$_ =~ /^(\w[\w.-]*)/} *; Still getting : Insecure dependency in glob while running with -T switch What can I do still have this functionally and satisfy 'tainting' Thanks, Dave tel: