in reply to Pattern Match and Replace Problem
Answer to #2:
you already split the individual lines into array fields, so \ns will only be at the end of the lines... you should chomp instead:
$File =~ s/\n//; # removes newline characters. # it should be chomp($File); # removes newline characters from the end of the line fa +ster.
|
|---|