exit code



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 ?

Thanks!
T


Relevant Pages

  • Re: exit code
    ... On 6/29/07, Paul Johnson wrote: ... > when I execute my perl script in my local machine and I get to a ... > but when i execute the same script with the same controlled error ... > I've got as exit value 9 which seems a generic error code ...
    (perl.beginners)
  • Re: exit code
    ... when I execute my perl script in my local machine and I get to a controlled ... 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 ...
    (perl.beginners)
  • Re: DBI: exit status, sql operation
    ... Perform whatever processing is necessary to execute the prepared ... exit from the perl script accordingly. ... Could I be missing errors with this code, i e could this perl script ... Regards Christian Eriksson ...
    (comp.lang.perl.modules)
  • Downloading a .exe file with Apache and Perl
    ... The file can be download complete (well almost: ... execute the downloaded file appears a DOS window, ... Perl Script or if I need configurate something with Apache ...
    (comp.lang.perl.misc)