Adding the code $Contents =~ s/\n/<br>/m; has no effect at all i'm afraid
White space and new lines are lost
Adding the code $Contents =~ s/\n/<br>/m; does have an effect in that looking at the source code printed to the browser on the first newline only <br> is added but not on any other newline after that
Using the code $Contents =~ s/\n/<br>/mg; works a treat
In reply to Re^4: Formatting Input
by akwe-xavante
in thread Formatting Input
by akwe-xavante
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |