Mailing List Archive

$obj = new Foo(...); syntax considered harmful
Will the potentially ambiguous

$obj = new Foo(...)

syntax generate a warning with Perl5.002 ?

It's becoming worryingly common.

Tim.
Re: $obj = new Foo(...); syntax considered harmful [ In reply to ]
I very much disagree - I write in a style that is as
close to Objective C and NeXT standards as possible, so
I *always* write my method calls this way. In fact, I
consider it the *standard* way to write a object oriented
code ;-)