--- Dave Rolsky <[EMAIL PROTECTED]> wrote:

> I was going to use File::Which. I don't know if that will work under
> taint mode, but I never use taint mode anyway ;)

  #!/usr/bin/perl -T

  use strict;
  use warnings;

  use File::Which;

  my $svn = which('svn');
  system($svn, 'status');

Generates:

  Insecure $ENV{PATH} while running with -T switch at ./which.pl line
9.

Cheers,
Ovid

--

Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Reply via email to