Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^15: Modernizing the Postmodern Language?by chromatic (Archbishop) |
on Jul 08, 2020 at 19:13 UTC ( [id://11119040]=note: print w/replies, xml ) | Need Help?? |
Well my first idea was, why not write a wrapper macro/class which applies the accessor macros in form of "virtual methods in well-defined slots"? It's been a long time since I thought about such a thing, but I don't know how much work it would be to write lvalue macros that could call set_ methods appropriately. Why would we need to gradually migrate away from XS then? CPAN/DarkPAN authors who want to support multiple language versions with a single release.
In Section
Meditations
|
|