At 12:58 +0200 2002.08.18, Louis Pouzin wrote:
>When I call a perl script from within a unix shell script, I'd like the perl
>script to set $status to some value for the shell script to use on return.
>
>I have tried a number of ways to no avail. $status is always 0 in the shell
>script when the perl script returns.

Try exit($status); that should give you what you want, I think.

>Anyone knows the how-to, or should I go to another list (unix ??).

In the future, macperl-anyperl is probably the best list to use.

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to