Hi there, I am trying to read a file and find the last numeric value in the line read. example: 123 45 -23 56 <-3.45 145 555 112 -12.0 -2.55
all of the values are separated by a space and I am looking for the last value. I tried $_ = s/[-][0-9].+$/$1/; $number = $1; The problem is that, not aleways I am getting the last value starting at the negative value. Somtime I get the second to last value. Thanks in advance, Nestor :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]