Re: attr initializers (Class::MOP and Moose)
[email protected] (Ricardo SIGNES)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
* Stevan Little <[email protected]> [2008-02-06T16:17:13] >>>> >>>> $instance->$initializer($value, $name, $callback); >>> >>> What is $name for again? >> [ ... ] > > I can see some use for it, but not that much. Perhaps it should be ($value, > $callback, $attribute_meta_object) ? This would allow for all sorts of > advanced usage, but it could also be safely ignored by those who dont > want/need it. Yes, I think I realized this would be better about two minutes after sending my reply. Your suggestion is reassuring. I'll make these changes and merge -- maybe tonight, maybe tomorrow. Tonight is ABE.pm. -- rjbs
signature.asc
(application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkeqJxsACgkQHu6P14fNXHOOzQCbBWpgh9+0wVXK607QP6dQNHEk P98AoKI/dxRESEDweer/9973H/cKIAY9 =v5Cp -----END PGP SIGNATURE-----