Living with smart match breakage

Fred Youhanaie fly at anydata.co.uk
Thu Jul 4 13:24:58 BST 2013



On 04/07/13 13:03, Abigail wrote:
> On Thu, Jul 04, 2013 at 12:40:34PM +0100, Gareth Harper wrote:
>> On 4 July 2013 12:23, Abigail <abigail at abigail.be> wrote:
>>
>>> And it is:
>>>
>>>     $ /opt/perl/5.8.9/bin/perl -le 'BEGIN {print $]} use feature;'
>>>     5.008009
>>>     Can't locate feature.pm in @INC (@INC contains: ... .) at -e line 1.
>>>     BEGIN failed--compilation aborted at -e line 1.
>>>
>>> Each of "strict", "feature", and "experimental", are perl module, and
>>> for each of them, there's a certain minimum version for which they are
>>> part of the standard distribution. (5.000 for strict.pm, 5.10.0 for
>>> feature.pm, and 5.14.0 for experimental.pm).
>>>
>>
>> Are you sure about 5.14.0 for experimental.pm, I ran it on 5.14.2 and had
>> to manually install from cpan in order for it to work (see higher up in the
>> thread).
>>
>
>
> I meant 5.16.0.
>
>
> Abigail
>

Are you sure?

perl -E 'use experimental "smartmatch";say "it works in perl $^V"'
Can't locate experimental.pm in @INC (@INC contains: /opt/perl-5.16.2/lib/site_perl/5.16.2/i686-linux /opt/perl-5.16.2/lib/site_perl/5.16.2 /opt/perl-5.16.2/lib/5.16.2/i686-linux 
/opt/perl-5.16.2/lib/5.16.2 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Any advances on 16? ;-)

google sez 5.18.0 :-)
http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#New_mechanism_for_experimental_features


Fred



More information about the london.pm mailing list