Yes this is possible...I've done this in the past. Once I created the
GD image, I wrote it to a file, and then treated the newly created file
like any other image...which means I just used regular html for the image
map. I did create the image on the fly using a perl cgi script to create
th
Tested and worked! Thanks.
The last \ is necessary.
"$Bill Luebkert" <[EMAIL PROTECTED]>
> Need help!
>
> I would like to insert a \ before a $ (if found) in the following string:
>
> $x = '123456$1$2$3';
>
> Output of $x must be 12345\$1\$2\$3.
>
> How do I this?
>
($x = '123456$1$2$3') =~ s/\$/\\\$/g;
print $x;
--till
___
Perl
[EMAIL PROTECTED] wrote:
> Need help!
>
> I would like to insert a \ before a $ (if found) in the following string:
>
> $x = '123456$1$2$3';
>
> Output of $x must be 12345\$1\$2\$3.
>
> How do I this?
Untested:
$x =~ s/\$/\\\$/g; # last \ may be unnecessary
--
,-/- __ _
Need help!
I would like to insert a \ before a $ (if found) in the following string:
$x = '123456$1$2$3';
Output of $x must be 12345\$1\$2\$3.
How do I this?
Many thanks.
___
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.