In article <4ED674D3.9050008@cpan.org>, Steffen Mueller
<smueller@cpan.org> wrote:
> PS: This could also let us do something like:
>
> use feature 'experimental_foo';
>
> Which enables the experimental "foo" feature. When we deem foo stable in
> the next version (or so) of perl, we alias foo and experimental_foo and
> add "foo" to the default set for the new version of perl. Clearly, this
> aliasing would have to be complete so that
>
> use feature 'foo'; no feature 'experimental_foo';
>
> would disable foo/experimental_foo.
Or, we could:
use experimental 'foo';
until it becomes a stable feature, at which point it becomes
use feature 'foo';
experimental.pm could warn about all sorts of things, such as a feature
that's moved from experimental to feature, or has been removed
completely.
Thread Previous
|
Thread Next