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


in reply to Re: Trouble matching string with decimals
in thread Trouble matching string with decimals

Hi, Yes that @voltages is built by reading from a file. I did try printing it out and it prints exactly what I have in my first post.(with each on new line without me adding \n in my print statement) I had also tried the chomp before posting it here. If I do chomp as below nothing is printed. (chomping it all?)
chomp $voltages[$count]; print "<$voltages[$count]>\n";