|more useful options|
Re^2: How can one get all possible combinations of elements of different arrays using File::Glob(bsd_glob)?by jwkrahn (Monsignor)
|on Apr 24, 2013 at 06:45 UTC||Need Help??|
You have set $/ to paragraph mode so it will not "slurp in file", just the first paragraph of the file. Also the value of $/ will effect what chomp removes (hint: paragraph mode removes more than just a single \n character).
That replaces a single newline. If you want to replace ALL newlines then: