in reply to Re: Re: CPAN Module Proposal: Business::Ship
in thread CPAN Module Proposal: Business::Ship
I'm following up from sauoq's note on the indirect object syntax because zie didn't provide the fixed syntax (and that's all this is - syntax).
$obj = Class->new;versus
$obj = new Class;You can get yourself into hot water by using the second form as its ambiguous - the first is unambiguous and works all the time.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re(4): CPAN Module Proposal: Business::Ship
by Dog and Pony (Priest) on Jun 02, 2003 at 09:52 UTC | |
by adrianh (Chancellor) on Jun 02, 2003 at 12:33 UTC |
In Section
Meditations