Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Fellow Monasterians, I've done this before, but not often. Normally, this...
OR
...renders a nice array of one line per element. Today, the above placed the entire file of 10 lines into one element. I hex-dumped the file and noted the line endings were 0D, but I'm not sure what they should be. To get it to work, I had to do this...
Has this something to do with how the text file was saved? Thanks! —Brad "The important work of moving the world forward does not wait to be done by perfect men." George Eliot In reply to Reading in a file not recognizing lines by bradcathey
|
|