[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl Problems



What do you mean into BEGIN{}? (Sorry I'm a newbie to perl and while I'm semi-comfortable tweaking scripts, there are still large parts I don't know.)

Damyan Ivanov wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jefferson Cowart wrote on 16.03.2005 04:13:
| (PowerPC Box)# ./selfscan.cgi
| Insecure $ENV{PATH} while running with -T switch at ../../lib/POSIX.pm
| (autosplit into ../../lib/auto/POSIX/getcwd.al) line 667.
| Compilation failed in require at /usr/share/perl5/Net/Nessus/ScanLite.pm
| line 7.
| BEGIN failed--compilation aborted at
/usr/share/perl5/Net/Nessus/ScanLite.pm
| line 7.
| Compilation failed in require at ./selfscan.cgi line 15.
| BEGIN failed--compilation aborted at ./selfscan.cgi line 15.

Putting something like

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

in BEGIN {} may help.

Why it works on x86 is another question for which I have no idea. :-/



dam
- --
Damyan Ivanov          0x9725F63B         Creditreform Bulgaria
divanov@creditreform.bg             http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993           fax: +359(2)920-0994
mobile: +359-88-856-6067      ICQ: 3028500      Y!M: dam3028500
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCN+mnHqjlqpcl9jsRAtFIAJ9CmdSwLF1Fwml3p3vmXBRH6gQvdwCePHK9
0PeykUizbFCw66UZxQFCkG0=
=ZwHZ
-----END PGP SIGNATURE-----





Reply to: