Re: exit status



Jerry Adair wrote:
Ok I'll keep with my vane of asking potentially obvious questions.

Your problem is not with the obviousness of the question, but of the
complete lack of necessary information provided.

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.

Yes it does. Come on. Do you really think that exit() is somehow
broken in the language, and you're just the first person to ever
notice?

Perhaps you could tell us exactly *how* you're determining that it
"doesn't work"?

Have you read the posting guidelines for this group yet? They contain
excellent advice and information on how to get the most help possible
from this group.

Paul Lalli

.



Relevant Pages

  • Re: exit status
    ... Your problem is not with the obviousness of the question, ... complete lack of necessary information provided. ... first blush,it seemed easy with the exit() call. ... using systemcalls to invoke the script. ...
    (comp.lang.perl.misc)
  • Re: exit status
    ... Not sure why I am getting the flack from you, ... systemcalls to invoke the script. ... it or not) exit() doesn't actually exit straight away, ... complete lack of necessary information provided. ...
    (comp.lang.perl.misc)