On 20/09/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: > On Tue, Sep 20, 2005 at 07:15:41AM -0400, Peter Prymmer wrote: > > > perl -e 'exit 1'
Surely that should be: perl -e "exit 1" ? Otherwise, it is equivalent to: perl -e 1 unless exit is defined as a symbol. However, on 5.5-3A3, that gives: $ perl -e "exit 1" %SYSTEM-F-ABORT, abort $ sh sym $status $STATUS == "%X0000002C" > > > > On VMS the construct shown is true since exit 1 is the way to say exit 0. > > I thought this only happens with "use vmsish 'exit'" on. > For me, that results in status=1 > > > I note the following behavior from the shell on Solaris 10: > > > > /home/user/pprymmer> false > > /home/user/pprymmer> echo $? > > 255 > > Solaris is Weird. > > > -- > Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern > Don't try the paranormal until you know what's normal. > -- "Lords and Ladies" by Terry Prachett >