running the following produces 7 warnings like this on my system:
'LD_LIBRARY_PATH=/usr/home/build/perl-5.12.0 ./perl installperl --destdir=/var/local/tmp/perl-root'
Use of uninitialized value $dev2 in numeric eq (==) at ./install_lib.pl line 123.
replacing == with ~~ (the smart match operator) seems to be the best DWIM fix.
my($dev1, $ino1, $dev2, $ino2);
($dev1, $ino1) = stat($p1);
($dev2, $ino2) = stat($p2);
- ($dev1 == $dev2 && $ino1 == $ino2);
+ ($dev1 ~~ $dev2 && $ino1 ~~ $ino2);
}
else {
1;