tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Assignment to $[ will be fatal in Perl 5.30



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'
 
head /usr/pkgsrc/sysutils/libgtop/work.x86_64/libgtop-2.28.4/lib/lib.pl

#!/usr/bin/perl

$[ = 1;                 # set array base to 1
$, = ' ';               # set output field separator 
$\ = "\n";              # set output record separator

--
Jun Ebihara


Home | Main Index | Thread Index | Old Index