ile: Apple $1.12. You can't
modify the file itself. So it's hard to utilize "\" or
use single quotes because you have to first read the
sentence from a file.
Jason
--- Paul Johnson <[EMAIL PROTECTED]> wrote:
> On Mon, May 08, 2006 at 08:07:56AM -0700, Xuning
>
Hi:
I have a question about replacing $ sign when it is
before a digit. For example:
$str = "$1.12";
I want to extact the dollar amount 1.12 from $str.
If I do this:
$str =~ s/\$//;
$str then become .12. The "$1" in "$1.12" is
interpreted first before substitution is applied. How
do I prevent