Gossamer Forum
Home : Products : Links 2.0 : Customization :

Help With '~' Character

Quote Reply
Help With '~' Character
This is probably a stupid question, but I'm having trouble adding my counter to my pages through site_html.pl. I know nothing about perl, but I'm pretty sure the problem is this:


$top qq~
<A HREF="http://www.websitereporter.com"><IMG SRC="http://209.15.2.13/~wr/gbadventure.com/wr.cgi" BORDER=0></a>
~;


The URL to the image contains a '~'... Is there any way to get around this, or should this not even be a problem and I should be looking for something else that's wrong?


Quote Reply
Re: Help With '~' Character In reply to
If you escape it, then I think it should work. http://209.15.2.13/\~wr/gbadventure.com

Quote Reply
Re: Help With '~' Character In reply to
OR you could use different operators, like the following:

Code:

$top .= qq|HTML CODES|;


Regards,

Eliot Lee
Quote Reply
Re: Help With '~' Character In reply to
In Reply To:
$top qq~
<A HREF="http://www.websitereporter.com"><IMG SRC="http://209.15.2.13/~wr/gbadventure.com/wr.cgi" BORDER=0></a>
~;
You also missed out the =.

Paul Wilson.
NEW http://www.wiredon.net