|htmlLink||topic started 9/19/2001; 3:42:55 PM
last post 9/19/2001; 8:17:17 PM
|Michael Gage - Re: htmlLink
9/19/2001; 8:17:17 PM (reads: 2398, responses: 0)
You're welcome and I'm sorry that I had to hack out the reply quite so quickly.
The difficulty you had is not with your installation, but because I should have used ~~ instead of \ to escape the quotes.
You must use \ in .pl files (and Perl in general), but in .pg files you must use ~~ as an escape character because \ has been reserved for use in TeX phrases.
Using the Perl quoting method as qq/TARGET="new_window"/ is easier to read than escaping the quotes as you have observed. q/TARGET="new_window"/ and 'TARGET="new_window"' also work -- (hey, it's perl and there is always more than one right way to do things. :-) ) "TARGET=new_window" also works, but it is less than perfect HTML since the value of TARGET is supposed to be quoted, so I don't recommend that. "TARGET=qq/new_window/" works for the same reason but actually opens a window named qq/new_window/ which is probably not what you were expecting.
Bottom line: q/TARGET="new_window"/ is probably the best way to do this.
Thanks much for bringing this to our attention.