Read a file and loop line by line

my $filename = 'filename.txt';
open (FP, '<', $filename) or die "Cannot open $filename: $!";
while(<FP>)
{	
	$line = $_;
}
close FP;

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.