in reply to Re: (cLive ;-) Re: Perl High School
in thread Perl High School
Aw c'mon. People can get bit by indirect object syntax whether or not they use it intentionally. At some point, usually in the 10th hour of a codefest, a typo is going to trigger a cryptic Can't locate object method "foo" via package "bar" error message.
The only risk of using the syntax consistently is one might come to believe that new is special.
If people stick with the new Package form, they're going to be just fine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Here's a quick example why not to use Indirect notation
by dragonchild (Archbishop) on Feb 22, 2002 at 14:00 UTC | |
by tilly (Archbishop) on Feb 22, 2002 at 23:21 UTC | |
by dws (Chancellor) on Feb 22, 2002 at 17:53 UTC | |
by dragonchild (Archbishop) on Feb 22, 2002 at 18:08 UTC | |
by dws (Chancellor) on Feb 22, 2002 at 18:50 UTC | |
by dragonchild (Archbishop) on Feb 22, 2002 at 19:53 UTC | |
|