On Thu, 9 Aug 2012 12:20:33 +0000
Bob McConnell <r...@cbord.com> wrote:

> 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.

But that doesn't determine which shell system() uses. Most users are
automatically assign bash(1) as their default shell. Most perls use
sh(1). On my machine, sh(1) is symbolically linked to dash(1). So,
determining which shell is in use is the next step.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

        _Perl links_
official site   : http://www.perl.org/
beginners' help : http://learn.perl.org/faq/beginners.html
advance help    : http://perlmonks.org/
documentation   : http://perldoc.perl.org/
news            : http://perlsphere.net/
repository      : http://www.cpan.org/
blog            : http://blogs.perl.org/
regional groups : http://www.pm.org/

-- 
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