RE: Possible to disable/rename meta() method
[email protected] ("Howe, Tom \(IT\)")
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <4DB89F6E2396564AB3BF4F5057A1721C95295E43F7@LNWEXMBX0104.msad.ms.com> |
Fantastic, and great to get such quick response from you all. How do I subscribe to the list? Or am I now subscribed by virtue of having emailed the list? Thank you Tom > -----Original Message----- > From: Sartak [mailto:[email protected]] > Sent: 07 January 2009 12:39 > To: Howe, Tom (IT) > Cc: [email protected]; Yuval Kogman; Stevan Little; [email protected] > Subject: Re: Possible to disable/rename meta() method > > On Wed, Jan 7, 2009 at 4:49 AM, Howe, Tom (IT) > <[email protected]> wrote: > > Would be nice to be able to optionally rename or prefix it. > > > > I don't think a object meta class should add methods to the > main interface unless the object specifically needs to expose them. > > > > So by default there could be a _moose_meta() method and an > easy way to create a meta() -> _moose_meta() handler if > required (per class). This could be a global option if want > to retain compatibility with existing modules that require it. > > Yes, we all agree that it would be useful to give users the > ability to rename or not install a meta. The problem is that > in quite a few places in Class::MOP, Moose, and all of > MooseX, we call $pkg->meta with the expectation that it'll be > there and return the metaclass. > > It's just a small design problem, one we can fix with enough > grunt work. :) > > > > > Thanks > > Shawn > > > Ps. How do I subscribe to the mail list? > > Send mail to [email protected]. > -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.