|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Trouble Using "Top" Within Perlby kschwab (Priest) |
| on Sep 14, 2002 at 15:13 UTC ( #197871=note: print w/ replies, xml ) | Need Help?? |
|
You could check the $? variable after the backtick call. My best guess is that rsh is in /usr/sbin, which isn't in the PATH environment variable in your CGI environment. Another idea would be to capture stderr:
Then you might catch what the shell and/or rsh is unhappy about.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||