tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Assignment to $[ will be fatal in Perl 5.30
In message <20190819.084531.804791190967541365.jun%soum.co.jp@localhost>
on Mon, 19 Aug 2019 08:45:31 +0900 (JST),
Jun Ebihara <jun%soum.co.jp@localhost> wrote:
> On perl-5.30,Assignment to $[ is fatal.
>
> cf. perl-5.30 with libgtop failed.
>
> perl-5.30.0 Practical Extraction and Report Language
>
> gmake[2]: Entering directory '/usr/pkgsrc/sysutils/libgtop/work.x86_64/libgtop-2
> .28.4/lib'
> /usr/pkg/bin/perl ./lib.pl < ../features.def > lib-t
> Assigning non-zero to $[ is no longer possible at ./lib.pl line 3.
> gmake[2]: *** [Makefile:695: lib.c] Error 255
> gmake[2]: Leaving directory '/usr/pkgsrc/sysutils/libgtop/work.x86_64/libgtop-2.
> 28.4/lib'
perlvar(1) says:
$[ This variable stores the index of the first element in an
...
As of Perl v5.30.0, or under "use v5.16", or "no feature
"array_base"", $[ no longer has any effect, and always contains
0. Assigning 0 to it is permitted, but any other value will
produce an error.
It was deprecated since perl 5.12.0...
--
Takahiro Kambe <taca%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index