[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
[MacPerl] RE: MPW Perl exit status
- To: mac-perl@iis.ee.ethz.ch (IPM Return requested)
- Subject: [MacPerl] RE: MPW Perl exit status
- From: "Patton, Paul B (MN10)" <Paul.B.Patton@hbc.honeywell.com>
- Date: 27 Feb 1998 14:36:41 -0600
- Alternate-Recipient: Allowed
- Content-Identifier: 01BDC34F723D9060
- Content-Return: Allowed
- Conversion: Allowed
- Disclose-Recipients: Prohibited
- Original-Encoded-Information-Types: IA5-Text
- X400-Content-Type: P2-1988 ( 22 )
- X400-Mts-Identifier: [/c=US/admd=MCI/prmd=Honeywell/; 01BDC34F723D9060-HW-MTA-MN]
- X400-Originator: Paul.B.Patton@HBC.honeywell.com
- X400-Received: by mta HW-MTA-MN in /c=US/admd=MCI/prmd=Honeywell/; Relayed; 27 Feb 1998 14:36:41 -0600
- X400-Received: by /c=US/admd=MCI/prmd=Honeywell/; Relayed; 27 Feb 1998 14:36:41 -0600
- X400-Recipients: non-disclosure;
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