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 ;-)
In reply to Re: Textarea boxes in CGI
by cLive ;-)
in thread Textarea boxes in CGI
by eweaverp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |