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

Re: 5.12 and 'use feature'

Thread Previous | Thread Next
From:
Ævar Arnfjörð Bjarmason
Date:
June 8, 2010 16:54
Subject:
Re: 5.12 and 'use feature'
Message ID:
AANLkTilpBF_6O4dFaQJm0S0kqnKFoon37IpTpZj8Ozii@mail.gmail.com
On Tue, Jun 8, 2010 at 18:54, Mark J. Reed <markjreed@gmail.com> wrote:
> $ perl -E 'say "Hello,world!"'
> Feature bundle "5.12" is not supported by Perl 5.12.1 at -e line 0
>
> Shouldn't 5.12 have a :5.12 feature bundle?

It does, it seems you're using a 5.10 feature.pm with 5.12.

What does this say?:

    perl -mfeature -le 'print $feature::VERSION'

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About