go ahead... be a heretic | |
PerlMonks |
Re^4: Recap: The Future of Perl 5by tobyink (Canon) |
on Aug 24, 2018 at 17:02 UTC ( [id://1221043]=note: print w/replies, xml ) | Need Help?? |
Type::Tie does similar to your example tie code. And there's XS implementations for a lot of types in Type::Tiny::XS. I really should look at the possibility of implementing the tie stuff in XS too.
Combining it with Attribute::Handlers could be a fun idea. Also, you probably want to use [0-9] in your regular expression, not \d. Yes, there's a difference.
In Section
Meditations
|
|