Understood .. The context in which I work does not allow me to easily to add modules to the system.
My technical questions still stand. Are my problems with the script because of the daemon code?
The script works well manually from the commandline .....
Re^2: Perl Daemon Calling a script
Replies are listed 'Best First'.
If it works well from the command line, but is giving you trouble when you execute it in some other way, it's frequently an environmental issue. A couple things to check:
Does the account you're running it from have permissions to access/execute everything?
Starting an account without using login (such as when running from cron) frequently has a different PATH and other environment variables set up. I typically print a copy of all the %ENV values when debugging problems like this.