EWS::htmlform - object-oriented perl module to fetch form input information.
use EWS::htmlform;
$html = new EWS::htmlform(-debug => 0);
%formData = $html->formData;
...
EWS::htmlform is an object-oriented perl class which provides methods to read the form data returned from an user-agent (browser).
This is version 1.0 of EWS::htmlform.
$html = new EWS::htmlform(%parameters);
or
$html = EWS::htmlform->new(%parameters);
Enter:
%parameters = parameter hash (see below).
Exit:
returns a blessed reference to a new htmlform object.
parameters are of the form:
-arg => value
acceptable values are:
-debug => 1 = debug messages
-baseIO => baseIO class object
Returns the form data hash
Enter:
none
Exit:
hash table of field name/value pairs
Returns undef if no form data.
Returns a reference to the form data hash
Enter:
none
Exit:
reference to the hash table of field name/value pairs
Returns undef if no form data.
Load the form data from browser agent
Enter:
none
Exit:
1 if successful
0 if error
The Revision method returns the revision number of htmlform.pm:
$revision = $htmlform->Revision;
Enter:
none.
Exit:
current revision string.
The Version method returns the version number of htmlform.pm:
$version = $htmlform->Version;
Enter:
none.
Exit:
current version string.
EWS::htmlform is dependent upon the following support modules:
baseIO is a common input/output and simple tracing class. It provides an object-oriented, redirectable access to console input and output, allows standard redirection, and provides a mechanism to allow output to be sent to the current console, a log file, or both.
EWS::htmlform is available at
Jay Wheeler, EarthWalk Software.
EWS::htmlform is copyright © 2002. EarthWalk Software.
This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA