Re: builder vs initializer
[email protected] (Yuval Kogman)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 19, 2008 at 21:20:42 -0700, Ian Tegebo wrote: > Does this mean a method in My::Class vs one in Class::MOP::Attribute > or some subclass thereof? Yes, builder => "foo" will cause new to call $class->foo, not $class->meta->get_attribute($attr)->foo. -- Yuval Kogman <[email protected]> http://nothingmuch.woobling.org 0xEBD27418