Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Patch/Enhancement request for the Native Types infrastructure to make it easier to add externally defined things that work the same way.

1 view
Skip to first unread message

Kent Fredric

unread,
Mar 27, 2013, 6:15:25 AM3/27/13
to mo...@perl.org
I was trying to work and create a new Native Type using the existing
base libraries in Moose for Native Types ( esp with regard to delegate
handles without needing the actual parameter being a bless() or tie()
), and hit a few bumps that made it slightly difficult to use without
resorting to duplicating the entirety of
lib/Moose/Meta/Attribute/Native/Trait.pm

I for whatever reason don't have commit access to git.moose.perl.org ,
so here's my test cases and related shit in a branch on github

https://github.com/kentfredric/moose/compare/master...topic;native_traits_flex

The method names I had headaches over choosing the right names for :(



--
Kent

perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3,
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
0 new messages