On Tue, Jul 29, 2008 at 11:40:02AM +0100, Ed Avis wrote:
> Abigail wrote:
>
> >>Code using <SAFE_ARGV> explicitly would also fail to compile
> >>with pre-5.12.
> >
> >No, it doesn't.
>
> You're right. (Why doesn't use strict check for filehandle names?)
Because that would make it harder to write:
open F, "foo bar";
while (<F>) { ... }
>
> >You'd be better off to make it a feature; using the feature
> >will prevent the code from running on older perls.
>
> Is it possible to backport features via a CPAN module?
'say' existed as a CPAN module long before 5.10 was there. (Perl6::Say,
IIRC).
Abigail
Thread Previous
|
Thread Next