Alex Harris wrote:
> 
> First, I read perldoc -f exec() and did as follows:
> 
> exec "rsh $plant /u1/bin/forkit 'work.pl'" or
>        print STDERR "Couldn't fork it.\n $!\n";
> 
> BUT, even though the file it should be exec - ing 'work.pl' does NOT exist
> on the remote system, the error doesn't get kicked off.  The only error I've
> gotten it to register is if $plant is invalid.  Any ideas?
> 


I think that instead of 'print', you should try 'warn' or 'die.

Bompa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to