"Douglas P. McNutt" <dmcnutt@macnauchtan.com> writes: >>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. >> >>On 2/26 paul.b.patton@hbc.honeywell.com wrote: >>This doesn't work for me. Example ... > >It works OK for me. For me, too. >But... > exit("Hello world"); >yields a status of zero. It is an artifact of the way MPW works. No. Perl exit takes a numeric parameter, so the string is converted to a number (0) right away. Matthias ----- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "One fine day in my odd past..." -- Pixies, _Planet of Sound_ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch