Front page | perl.perl5.porters |
Postings from August 2010
Re: mauve::reftype()
Thread Previous
|
Thread Next
From:
Ben Morrow
Date:
August 30, 2010 03:10
Subject:
Re: mauve::reftype()
Message ID:
20100830100955.GA84127@osiris.mauzo.dyndns.org
Quoth demerphq@gmail.com (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";
feature.pm 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.
Ben
Thread Previous
|
Thread Next