Chris Devers wrote:
I suspect you probably didn't mean to do either of these, but
rather:

    $details =~ s#\n#<br />\n#g;

Which should portably add a break tag to the end of each source
line.

HTML parsing is a real bear to get right. For a limited problem
like this, mucking around with regular expressions isn't so bad,
but if you really want to do it right, it's worth pulling in a
parsing engine like HTML::Parser or HTML::TreeBuilder or something
along those lines...

I can't see what this has to do with HTML parsing.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to