my $obj = new Foo;According to the Camel Book beside me, method invocation using the METHOD CLASS_OR_INSTANCE LIST form is exactly equivalent to CLASS_OR_INSTANCE->METHOD (LIST) form.This syntax introduces weird parser ambiguities that often depend on the order of compilation. Stick with Foo->new().
In reply to Re^3: Is it ok to mix functional and oo programming in one package?
by gamache
in thread Is it ok to mix functional and oo programming in one package?
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |