in reply to How to handle new lines in textfield (CGI)
use warnings or -w switch might have told you that "my" variable $address masks earlier declaration in same scope. change:
to:my $address =~ s/\n/<br>/g;
and your problem *should* be solved.$address =~ s/\n/<br>/g;
|
|---|