Charles Farinella wrote:
$text =~ s/\r\n/<br>/g;
doesn't work.
$text =~ s/\r\n/<br>/gs;
------------------------^
Why would the /s modifier make a difference? Please study
perldoc perlre
and figure out why it doesn't. ;-)
-- 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>