Re: BUILD called twice.
[email protected] (Bill Moseley)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <CAKhN_m6uKkJFnUOToS4_Tdg+xJw3kXN7m93-TswAo++-ZHTq1g@mail.gmail.com> |
On Thu, Feb 14, 2013 at 10:05 AM, Dave Rolsky <[email protected]> wrote: > > But as you point out, what you did is just wrong anyway. The whole point > of BUILD is that defining it in subclasses doesn't hide the parent's > implementation. > > The only time you need modifiers on BUILD is when you want a role to > modify BUILD. > Hum, ok, so on a related question: What's the correct approach if you need to completely override a BUILD in a base class with a replacement version in a subclass? That is you do not want the baseclass BUILD to run? -- Bill Moseley [email protected]