> Herein lies the problem, the last line of field output:
> 
> $postInputs{'procedure_field'}<br>
> 
> is outputting the string without the carriage returns so all lines run together on 
>the html page.

More than likely the hex value of the carriage return ( some value like
%20 ) is being removed or not converted correctly in readPostInput().
I'd let CGI.pm or CGI::Lite handle all that stuff for you.

If 'procedure_field' is coming from a <TEXTAREA> tag, I believe that
CGI.pm preserves the carriage returns:

<form action=foo.pl>
 <textarea name=bar></textarea>
 <input type=submit>
</form>


use CGI qw{:cgi};

print "Content-type: text/html\n\n";
print '<PRE>', param('bar'), '</PRE>';

- Ron
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to