Re: Learning Perl
- From: Elizabeth Barnwell <elizabethbarnwell@xxxxxxxxx>
- Date: Fri, 13 Jun 2008 13:18:54 -0700 (PDT)
On Jun 13, 8:44 am, mer...@xxxxxxxxxxxxxx (Randal L. Schwartz) wrote:
"Jim" == Jim Cochrane <allergic-to-s...@xxxxxxxxxxxxxxxxxxx> writes:
Jim> IOW, in Perl, a semicolon is a statement separator, not a statement
No, you're recalling Pascal.
In Perl, it is indeed a statement terminator, but only for those statements
that require it (not a while or an if, for example). However, the final
semicolon of any scope (file or block or eval-string) is optional.
print "Just another Perl hacker,"; # the original
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Seehttp://methodsandmessages.vox.com/for Smalltalk and Seaside discussion
Thank you for your candid feedback. I do appreciate it. Like I said,
this is the first step for us- We are adding features to the site to
allow users to comment on/make corrections to existing content/build
learning material together/attribute content to various sources.
Regarding usefulness- our developers, and many others have found it
very effective. But it may not be your style. I will update you when
we've added to community piece so we can put your rants/raves to good
- Prev by Date: Re: converting Java code to Perl (using LWP?)
- Next by Date: Re: Learning Perl
- Previous by thread: Re: Learning Perl
- Next by thread: Re: Learning Perl