The indirect syntax (new Foo) is problematic. I can't remember any specific examples, but I have seen errors due to ambiguities in the parsing of the indirect syntax. Foo->new is recommended.
In reply to Re: Foo->new() vs. new Foo()
by ikegami
in thread Foo->new() vs. new Foo()
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |