Help for this page
my $file_path = '/some/path/file.txt'; ... # read the file and close it as soon as you do not need it anymore close $fh or die "error closing filehandle! $!";
use strict; use warnings; ... to Perl