List: cgi-list
Subject: Re: [CGI] Problems with variables in substitute/replace
From: Russell Miller <rmiller () duskglow ! com>
Date: 2004-11-21 8:13:45
Message-ID: 200411210213.45714.rmiller () duskglow ! com
[Download RAW message or body]
On Saturday 20 November 2004 23:33, Mark Wheeler wrote:
> After the substitution, "$1,160 and up" should be bold, but it doesn't
> come out that way. I know it has to do with the "$" because when I
> remove it from the substitute string, everything works fine. My only
> guess is that "$1" of "$1,160" is being interpreted as a variable or
> something along those lines. But... I don't know how to get around
> that. Can someone please explain what I need to do to fix it.
>
Try backslash escaping the "$".
--Russell
>
Russell Miller - rmiller@duskglow.com - Le Mars, IA
Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs.
http://www.duskglow.com - 712-546-5886
--
The CGI-LIST is sponsored by:
www.DinnerBroker.com!
Fine dining up to 30% off!
Exclusive access to tables!
http://www.dinnerbroker.com/
To unusbcribe, send an email contining the words: 'unsubscribe cgi-list' to the \
following email address: majordomo@jann.com
Archives of the following mailing lists are available at: http://www.perl.jann.com/
the CGI Mailing List
the mod_perl mailing list
the embperl mailing list
Searching, browsing and posting are available at http://www.perl.jann.com/
No one may in any way attempt to data-mine or archive the
mailing list for financial gain without the express permission
of Jann.com.
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic