sulfericacid
Programmer
have a few questions for you perl guru's.
print $query->escapeHTML(
join '', (
map{
defined($form{$_}) ? qq(<meta name="$_" content="$form{$_}"><br>\n):''
} qw ( abstract author distributor copyright description
robots language distribution rating )
),'<meta name="generator" content="SpyderTagV1.0!"><br>\n'
);
When I use that snipplet it literally prints out <br> rather than creating a
line break (on browser). I had it working earlier where it lined breaked on
the browser but the <br> showed up in the email. Without using any other
modules or making this really complicated, how can I get a line break on
browser without the <br> printing to screen or in the email?
2nd question, how would I go about assigning that entire segment into a
single scalar?
Thanks!
sulfericacid
print $query->escapeHTML(
join '', (
map{
defined($form{$_}) ? qq(<meta name="$_" content="$form{$_}"><br>\n):''
} qw ( abstract author distributor copyright description
robots language distribution rating )
),'<meta name="generator" content="SpyderTagV1.0!"><br>\n'
);
When I use that snipplet it literally prints out <br> rather than creating a
line break (on browser). I had it working earlier where it lined breaked on
the browser but the <br> showed up in the email. Without using any other
modules or making this really complicated, how can I get a line break on
browser without the <br> printing to screen or in the email?
2nd question, how would I go about assigning that entire segment into a
single scalar?
Thanks!
sulfericacid