Did you read your array in from a file? Did you forget to chomp the newlines?
Try adding this before your loop:
chomp @voltages; for my $count ( ... ) { ...
In reply to Re: Trouble matching string with decimals
by BrowserUk
in thread Trouble matching string with decimals
by deshdaaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |