I would say that perl uses semicolon to divide/split statements, more as a 'statement separator' than 'statement end' (i.e. neither to end nor to start statements).
I'd have to disagree here. You can still end that last statement with a semi-colon (I would consider it good practice to do so infact, much like commas in list assignments), but perl manages to guess where you have omitted the statement ender. I see the semicolon much like a period in english. If you looked at a improperly spaced sentence, you could come to the conclusion that a period starts a sentence, because "most of the sentences have a period in front". But of course, a period ends a sentence =].

Since this is a matter of personal style, aka opinion, it's kind of pointless to try to change your mind or you change my mind, I just wanted to reply with my view point, which I'll reiterate to try to make myself clear: A semicolon *ends* a statement. It tells perl "this is the end of my statement". Therefor, it belongs at the end. =]

In reply to Re: Re: Re: Re: Re: Re: CGI::Application vs CGI::Builder by BUU
in thread CGI::Application vs CGI::Builder by gryphon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.