On Fri, Jun 29, 2007 at 11:08:19AM +0200, Tatiana Lloret Iglesias wrote:

> Hi all,
> 
> when I execute my perl script in my local machine and I get to a controlled
> error situation i've got as exit value 777
> 
> if(!$test){
>    $failed_times =$failed_times +1;
> 
>    if($failed_times ==3)
>    {
>     exit(777);
>    }
>    sleep 15;
>   }# if $test
> 
> but when i execute the same script with the same controlled error situation
> I've got as exit value 9 which seems a generic error code
> 
> Any idea ?

Exit statuses are stored in eight bits.

> Thanks!

You're welcome.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to