develooper Front page | perl.perl5.porters | Postings from August 2010

Re: mauve::reftype()

Thread Previous | Thread Next
Ben Morrow
August 30, 2010 03:10
Re: mauve::reftype()
Message ID:
Quoth (demerphq):
> Show me how you would provide a backwards compatibility layer for a
> feature, and show me how code would be written so it worked fine in a
> new perl and an old perl.

I would say: feature should be dual-life. If I say

    use feature ":5.12"; will attempt to emulate the features of 5.12 as far as
possible on the perl it's running on. In a case like this, where we are
talking about adding a keyword we already have an XS implementation for,
that's easy.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About