in reply to Reading a file into an array
Are you sure that the line-endings are as you expect them to be? They should be equal to the value of $/ (also known as $INPUT_RECORD_SEPARATOR in the English module) or otherwise chomp doesn't work.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|