> From: Shawn H Corey
> 
> On Thu, 9 Aug 2012 15:17:57 +0800 (SGT)
> venki neeli <venki_neeli...@yahoo.com> wrote:
> 
> > What may be the problem? is it with version of perl? or perl module
> > problem?
> 
> It may be a difference in the shell. When there are metacharacters
> present, system uses sh(1) to interpret them. Try this on your
> machines to see if they're the same:
> 
> ls -l `which sh`
> 
> See `perldoc -f system` for details.

My first step would be to log into the problem machine as the same user the 
command runs under, then try to run it manually. The error messages there 
should point you toward the problem. If it runs, then there has to be a 
difference in the environments between your login and the user that actually 
executes the script.

The alternative is to wrap it in a script that sends STDERR output to syslog.

Bob McConnell


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to