HELP - finding a float while reading a file

2002-01-04 Thread Nestor Florez
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 a

Re: regexp to replace double with single quotes inside html tags

2001-12-31 Thread Nestor Florez
John, can you explain the piece of code that you wrote. Thanks and happy new year :-) - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 30, 2001 3:38 AM Subject: Re: regexp to replace double with single quotes inside html tags

Perl:readina doc file and adding a gif

2001-12-29 Thread Nestor Florez
I am trying to figure out how to insert a gif file in the middle of a word file(.doc). I am asking here, becasue I thought maybe someone has come acrss this before. I can read the doc file and create it as a different file and word will read, but if I try inserting someting into the file, then wo