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

Hi, Yes, I exactly see
>0.940V<
printed. Because I am removing \r\n from by grabbed string which is building the @voltages array. But I am still stuck. It's not even printing
if( $voltages[$count] =~ /V/) {
:(

Replies are listed 'Best First'.
Re^3: Trouble matching string with decimals
by soonix (Chancellor) on Jul 23, 2013 at 06:14 UTC
    To me this sounds like a mistyped variable name or a misplaced my. Can you post the exact code you use for populating the array and for your compare loop?