in reply to Re: Reducing Perl OO boilerplate
in thread Reducing Perl OO boilerplate
BUT, tell me.. you have a function that's called add, it adds two things, right? You have a function called, parseString, it parses strings, right?
Why would you have a main:: funciton called new? New what? New time of day? New cheese? A function called new is badly named. :P
Update: See this node for more details on ->new vs new and someone actually having the problem.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Reducing Perl OO boilerplate
by Trimbach (Curate) on Feb 18, 2004 at 04:02 UTC | |
by exussum0 (Vicar) on Feb 18, 2004 at 12:31 UTC | |
by flyingmoose (Priest) on Feb 18, 2004 at 14:55 UTC | |
by Trimbach (Curate) on Feb 18, 2004 at 16:45 UTC | |
by flyingmoose (Priest) on Feb 18, 2004 at 17:02 UTC |