[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] RE: MPW Perl exit status



On 2/26 Matthias wrote:

> *if* you execute the "exit()" command, the value you pass for exit will
> be returned. If you don't have an exit command, exit(0) is assumed.

This doesn't work for me.  Example ...

    Target window contains:

        exit( 1 );

    MPW worksheet contains:

        perl "{target}"
        echo {status}

    Highlighting and executing the two lines above prints:

        0

What am I missing?

I'm using MPW 3.4.2
          Big MacPerl 5.1.8r4
          Quadra 840av (68040)
          System 7.6.2.


    -Paul-     paul.b.patton@hbc.honeywell.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch