Help for this page
my $file = 'D:/htmladdresses.txt'; open my $input_fh, '<', $file ... # Use $input here as you were previously using it } close $input_fh;