Help for this page
open FH, "file.txt" or die "Couldn't open file.txt: $!"; while (<FH>) { ... print; # or do whatever else you want here. } }