Install libbareword-filehandles-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libbareword-filehandles-perl
Description:
Perl pragma to disable bareword filehandles
bareword::filehandles lexically disables the use of bareword filehandles with builtin functions, except for the special builtin filehandles STDIN, STDOUT, STDERR, ARGV, ARGVOUT and DATA. To use it in your scripts, simply say . no bareword::filehandles;
Homepage: https://metacpan.org/release/bareword-filehandles
Version: 0.005-1
Section: universe/perl