Perl Christmas Quiz

Abigail abigail at abigail.be
Wed Dec 17 12:43:08 GMT 2008


On Wed, Dec 17, 2008 at 12:03:06PM +0100, Philip Newton wrote:
> On Tue, Dec 16, 2008 at 23:04, Paul Makepeace <paulm at paulm.com> wrote:
> > ; is a statement terminator, not a separator. Java inherits from C, not DWIM :-)
> 
> I always thought Perl inherited the "statement separator, not
> terminator" behaviour from Pascal.


The professor [1] who taught us Pascal in university treated ';'s to
*start* statements with:


    BEGIN do_this
        ; do_that
        ; more_things
        ; yada_yada_yada
    END


[1] He's still there: http://www.cs.uu.nl/staff/doaitse.html


Abigail


More information about the london.pm mailing list