Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Cannot launch perl packer binary from inetdby flexvault (Monsignor) |
on Dec 11, 2012 at 19:28 UTC ( [id://1008382]=note: print w/replies, xml ) | Need Help?? |
Welcome fergal1, This isn't really a Perl problem! When you launch a script from the command line in *nix, the environmental variables have been set up via your login. When you launch a script from 'inetd' you must ensure that required environment is set up for the script to work. This would be the same problem with any language (C, C++, etc.). What you could do to find the problem is in your test script open a file and dump your %ENV with a foreach loop. Move that file to a backup name and then call the script from 'inetd' and then compare the two files (can use 'diff' under *nix). It could be different users, protection problem, etc. Good Luck! "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|