Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Perl Daemon Calling a script

by roboticus (Chancellor)
on Jan 24, 2013 at 02:19 UTC ( #1015064=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl Daemon Calling a script
in thread Perl Daemon Calling a script

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.


When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^4: Perl Daemon Calling a script
by perlology (Initiate) on Jan 24, 2013 at 16:32 UTC
    Pragmatism works very well ... Solved my problems perfectly .. Thank you ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015064]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2018-06-18 19:42 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.