in reply to Re^2: textarea entries
in thread textarea entries

GAH! Stop right now. Go get CGI and use it. I really mean it, you really should not be using code like what you are doing. Nothing we say about your particular issue will be as important as using the CGI.pm module. Do that first, then come back and ask again.

update to give an example

#!perl -w use strict; use CGI qw(:all); my $FORM = param->Vars; my $textarea = $FORM{"text_area_field_name"}; my @numbers = split /\s+/, $textarea.
(When I said "go get CGI.pm" I was speaking metaphorically, you don't actually need to "get" anything, it comes with perl.

Replies are listed 'Best First'.
Re^4: textarea entries
by TeaK (Initiate) on Feb 23, 2005 at 19:37 UTC
    Thank you again, but remember things you take for granted, are very new to me. I have already humbled myself before you Monks.. I am as green as it gets. LOL Explanation of using cgi.pm module. (as if I were a 4 yr old) is it being used in the update code you mentioned? or do I have to code  use CGI.pm
      The script I showed is how to do it. The line use CGI qw(:all) makes CGI.pm available in your script (you shouldn' specify the .pm part in a use statement) and makes all functions in the CGI.pm module available to you.