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;
In reply to Re: How to handle new lines in textfield (CGI)
by perlguy
in thread How to handle new lines in textfield (CGI)
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |