in reply to Re: @ symbol in html output
in thread @ symbol in html output
A here document:
Or quoting like this:print <<'END_HTML'; email is officer@dibble.com this is still html <p> <blink>foo</blink> END_HTML
print q{ email is officer@dibble.com this is still html <p> <blink>foo</blink> };
Both of these options will prevent you from being caught out by awkward apostrophes (e.g. you would get in trouble with print 'my brother's email is a@b').
NB.
For the here document: if you want interpolation do print <<"END_HTML";. You can use whatever text you like instead of END_HTML.
For the q{} quoting: if you want interpolation, use qq{}. You can use whatever sort of brackets you like, e.g. q().
hth, andy.
|
|---|