in reply to Re: Re: Textarea boxes in CGI
in thread Textarea boxes in CGI
I'm not 100% sure whether *all* browsers will send the \r, hence the ? in the regex.my $ta = param('textbox'); $ta =~ s/\r?\n//g; print $ta; # or if you really want an array: my @v = split /\r?\n/, param('textbox');
.02
cLive ;-)
|
|---|