MX::Traits why can't traits be added with just new?
[email protected] (Caleb Cushing)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <CAAHKNRHjWRJbctbaNimBbebHSq8TDvY8a6rsLhT--FYu=-gWww@mail.gmail.com> |
Why are the options for using MX::Traits either
Class->with_traits(...) or Class->new_with_traits({ traits => ... });
why can't we have just a Class->new({ _traits => ... })?
--
Caleb Cushing
http://xenoterracide.com