Apache2::ASP::FormHandler - Base class for all "form" handlers.
package MyFormHandler; use strict; use base 'Apache2::ASP::FormHandler'; use vars qw( %modes $Request $Response $Session $Application $Server $Form $Config ); sub run { my ($s, $asp) = @_; # Do stuff, then: $Response->Redirect("/anotherpage.asp"); # When the user gets to '/anotherpage.asp' all fields with names that # match a key in $Form will be filled out, automatically. }# end run() 1;
If your Handler processes form data that should be automatically filled in on another page's form fields, then make sure it is derived from Apache2::ASP::FormHandler.
Apache2::ASP::FormHandler
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.
Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.
John Drago mailto:jdrago_999@yahoo.com
Copyright 2007 John Drago, All rights reserved.
This software is free software. It may be used and distributed under the same terms as Perl itself.
To install Apache2::ASP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::ASP
CPAN shell
perl -MCPAN -e shell install Apache2::ASP
For more information on module installation, please visit the detailed CPAN module installation guide.