Hi,
$data = param('data');
$data =~ s/\/n/<br>/g;
....
...
..
print "<table><textarea>";
print $data;
print "</textarea></table>";
Regs David
# -----------------------
>
> Hi,
>
> If this has been answered before please direct me there as I am at a loss as to
>where to look as there is so much info to plow thru.
>
> Situation: I am reading into my script via param() a textarea called Job Duties.
>When I print out that parameter in perl all of the new lines are ignored and it
>prints as one long string.
>
> Q: How do I get the perl print statement to recognize the new lines so that the
>printed output looks like the html input screen?
>
> Perhaps the print statement is the wrong thing to use but.....
>
> I've been looking at regex's and the split function and have been able to determine
>that there are infact newlines in the data but they are being ignore when I print out
>the data.
>
> Any assistance would be great.
>
> Thanks.
>
> Joe Pond
>
> [EMAIL PROTECTED]
>
> ------=_NextPart_000_0005_01C21F92.BF99A900--
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]