http://www.perlmonks.org?node_id=985323


in reply to Re^3: Problem with files read to array split on empty lines
in thread Problem with files read to array split on empty lines

Tobyink, thank you. The files were downloaded through the server's cPanel web UI. After your initial reply i made a attempt at such a regex but my eyes were starting to glass over. I will try your suggestion and report back, although currently the server appears to be down :/ I would have thought that changing $/ to the empty string would have caught all instances of an empty line (as has been suggested in other nodes) but clearly I'm missing something.

  • Comment on Re^4: Problem with files read to array split on empty lines