Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Re: Re: Re: CGI::Application vs CGI::Builderby Anonymous Monk |
on May 04, 2004 at 12:54 UTC ( [id://350313]=note: print w/replies, xml ) | Need Help?? |
I think the real problem is beginning with semicolons. Sure, you *can*, but it gives the (false) impression that a semicolon is a statement beginner when it's really a statement terminator. Well, since this is a well formed block made of 3 'statements':
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 agree that putting the semicolon at the end is the more popular convention, (and for this reason my style is unconventional), but these are exactly the same block, just splitted after or before the 'statement separator':
the advantage of the latter is the vertical alignment, its disadvantage is that it is unconventional. Domizio Demichelis
In Section
Seekers of Perl Wisdom
|
|