1. by setting it to a fixed value
$ENV{PATH}="/path/part/one:/path/part/two";
2. by un-setting it and calling the external prog directly:
$ENV{PATH}=''; `/usr/bin/rsh ...`;
regards,
tomte
An intellectual is someone whose mind watches itself.
-- Albert Camus
In reply to Re: Re: Re: Untainting backtick command data
by Tomte
in thread Untainting backtick command data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |