My test file has \"n\" number of lines and between each line there is a ^M, which in turn makes it one big string. The code I am working with opens said file and should par
You might want to set $\ (input record separator) to ^M in the beginning of your script, such as:
$\ = "^M";