Re: exit status



Arndt Jonasson wrote:
"Paul Lalli" <mritty@xxxxxxxxx> writes:
Jerry Adair wrote:
I am attempting to return an error code from a Perl script. At first
blush, it seemed easy with the exit() call. But it doesn't work.

Sure as heck seems to me like you just said exit() doesn't work. Where
am I mistaken?

Perhaps "it" = "attempting to return an error code from a Perl
script", not "it" = "the exit() call".

I'm not seeing the distinction, since exit() *is* how you return an
error code from a Perl script.

Paul Lalli

.



Relevant Pages

  • Re: Reading entire file into an array..HELP!
    ... MegaC wrote: ... > I am having a heck of a time trying to read input from a file. ... The program will exit if the file cannot be opened. ... contain the reason the open failed. ...
    (perl.beginners)
  • updating to a different table
    ... in a form -- on exit of a certain field how would you ... update fields from a separate table? ... SQL and ADO is confusing the heck ...
    (microsoft.public.access.formscoding)
  • Re: Drivers Too Comfortable,, means harder bump drafting.
    ... exit. ... Heck, pick any V8 model you like, right off the showroom ... floor, on street radials, and it'll go faster than 160 thru the ... corners at Daytona. ...
    (rec.autos.sport.nascar)
  • Re: exit status
    ... blush, it seemed easy with the exitcall. ... Sure as heck seems to me like you just said exit() doesn't work. ... "Attempting" was the operative word. ...
    (comp.lang.perl.misc)
  • Ok computer dudes and ladies I need xp serv pack 1
    ... in order to run vpinmame on two monitors without it crashing on exit. ... So where the heck do I find a copy of XP sp1 install disc? ...
    (alt.games.mame)