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

Re: [MacPerl] MacPerl bug or do I need to RTFM?



Thanks to all who kindly <grin> pointed out that I'd missed the ";" after
the "use strict". Isn't it amazing how we sometimes miss the most obvious?
The mind is truely an incredible filter...

Stewart

>At 04.56 -0500 1998.11.10, PwrSurge wrote:
>>"Each perl command must have a semi-colon at the end, unless it is a
>>subroutine, or the last line of the script"
>
>This is not true, but certainly, it does not hurt to put semicolons in anyway.
>
>#!perl -wl
>{print 1}
>{print 2}
>{print 3}
>exit
>
>I suppose this might be more true: "Each complete Perl statement must end
>with a semicolon, unless it is the last statement in a block."
>
>--
>Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
>%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

---
Stewart Leicester      "Ad Astra        StewartL@JenSoft.com
JenSoft Technologies    Per Aspera"     925/551-0130

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