The backticks `` are the old way, the new way to write it is qx//. And taint mode complains because you did not set $ENV{PATH} before trying to launch a program - and qx looks at $ENV{PATH}.
You should be able to make this work by adding the following line to your script:
$ENV{PATH} = '/usr/bin:/bin'; # or maybe even: $ENV{PATH} = '';
In reply to Re: just another taint question
by Corion
in thread just another taint question
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |