CleanCode Perl Libraries |
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
Multi-Lingual Library | Maintainability | ||||||||||||
Perl | Java | JavaScript | Certified Class |
Testable Class |
Standalone Mode |
Diagnostic Enabled |
CGI::PagePlugin::FormMail - send contents of form as mail.
use CGI::PagePlugin::FormMail;
$plugin = CGI::PagePlugin::FormMail->new(\@fieldList, $inputData)
print $plugin->output();
Perl5.005
A plugin used by CGI::PageSequencer to perform an action, in this case to send the contents of the form as email.
Current version of this class.
PACKAGE->new(fields, inputData)
Returns a newly created object.
fields
- reference to array of field names to process.
inputData
- an InputOptions object; the getData
and getProperty
methods are needed to retrieve the value of each field and the project administrator, respectively.
a newly created object
OBJ->output()
Sends email to the project administrator (specified via the ADMIN_EMAIL property in the inputData) enumerating all input fields and corresponding values from the web page.
None
Tailor subject to include subject from form.
Michael Sorens
$Revision: 8 $ $Date: 2006-12-19 21:13:43 -0800 (Tue, 19 Dec 2006) $
CleanCode 0.9
perl(1)
Hey! The above document had some coding errors, which are explained below:
=back doesn't take any parameters, but you said =back -- end of CONSTRUCTOR section
=back doesn't take any parameters, but you said =back -- end of METHOD section
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
CleanCode Perl Libraries | Copyright © 2001-2013 Michael Sorens - Revised 2013.06.30 |