Re: HTML textarea contents into Perl CGI

2002-07-02 Thread John Brooking
--- David vd Geer Inhuur tbv IPlib [EMAIL PROTECTED] wrote: $data = param('data'); $data =~ s/\/n/br/g; 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

HTML textarea contents into Perl CGI

2002-06-30 Thread jmpond
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

Re: HTML textarea contents into Perl CGI

2002-06-30 Thread Connie Chan
is. So you better use print pre$data/pre or $data =~ s/\n/BR/g; print $data - Original Message - From: jmpond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 30, 2002 5:31 AM Subject: HTML textarea contents into Perl CGI Hi, If this has been answered before please direct me