![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Notice: forthcoming change to Type::Tiny overloadingby tobyink (Abbot) |
on Mar 17, 2014 at 17:32 UTC ( #1078638=perlnews: print w/replies, xml ) | Need Help?? |
See my blog post. Long story short: Type::Tiny's overload of + will go away in the next release; use $type->plus_coercions($coercion) instead.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
Back to
Perl News
|
|