NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Nice! (Score:1)
use any::feature 'say';looks a bit nicer than something like....
from __future__ import with_statementIMHO of course
Why the seprate namespace? (Score:2)
If you want to use this both on perl 5.8.x and on perl 5.10, then you have to install any::feature [cpan.org] on 5.10.
Wouldn't it be nicer to backport feature [cpan.org] to 5.8, thus: rename any::feature [cpan.org] to feature [cpan.org], and make it only installable on 5.8? (Not sure how the latter would work)
I'm not saying this is the best solution, but it's the solution I like better, among the options that I see.
Re: (Score:1)
I thought about that, but somehow it feels wrong to stomp on someone else's namespace; especially it's not clear what would happen if someone on 5.10 (or later) would use "install feature" in the CPAN shell...
Re: (Score:1)
Can't you deal with this by looking at $] in your Makefile.PL?