Net-SFTP-Foreign - Re: 64-bit code won't compile and can't connect to sftp server

Posted on Sat Jul 7 15:02:42 2007 by salva in response to 5657 (See the whole thread of 16)
Re: 64-bit code won't compile and can't connect to sftp server
It fails because $ENV{PATH} is tainted.

Try adding...

$ENV{PATH} = '/usr/bin:/bin';

at the begining of your script, and it should work.

I have also uploaded a new version of the module to CPAN that catches this error.

Direct Responses: 5669 | Write a response