Thanks for the check. And yet the code does NOT work. Against all expectation I continually get a new line after printing the last element of the array created by the split. I cannot find any explanation for why this might be occurring in any of my Perl books. I have read about $/ and $\ and checked through my code to ensure I didn't introduce some such change by a typo. So I'm left wondering how to solve the problem??? Anyone?
The broader context may provide some hints:
-the CSV files originate from LABVIEW
-arrays of hashes are being used as a lookup table to link info from separate files.
I'm tearing my hair out.
in reply to Re: print last array element without a new line
in thread print last array element without a new line