Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
and then in a second program#in first_prog.pl #do something wrong exit 1;
I've read somewhere that exit cannot be relide upon but why?$result = system "perl first_prog.pl" print $result; #I get 256
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Exit with a number
by gellyfish (Monsignor) on Aug 03, 2004 at 14:21 UTC | |
|
Re: Exit with a number
by sweetblood (Prior) on Aug 03, 2004 at 14:27 UTC | |
|
Re: Exit with a number
by mifflin (Curate) on Aug 03, 2004 at 15:48 UTC | |
|
Re: Exit with a number
by Your Mother (Archbishop) on Aug 03, 2004 at 23:57 UTC |