User::Config::UI::HTMLFormHandler - generate a userinterface for User::Config using a web-form.
use User::Config; use CGI qw/:cgi-lib/; my $uc = User::Config->instance; my $ui = $uc->ui("HTMLFormHandler"); my $params = Vars; my $form->generate($params); ... print $form->render;
Using this module, a form is generated containing all visible options for User::Config. The generate-method will also process the parameters, if any are given. Either way a fully functional HTML::FormHandler-object is returned.
generate
HTML::FormHandler
This will set the context User::Config is working in. By default, this will be the global context.
This attribute will contain all additional parameters used while generating the HTML::FormHandler-object.
the CGI-parameters given
<$self-
generates a new HTML::FormHandler-object. Optionally a hash-ref containing the actual CGI-parameters can be submitted. This will replace the parameters set within the current instance.
Benjamin Tietz <benjamin@micronet24.de>
Copyright (C) 2011 by Benjamin Tietz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
To install User::Config::UI::HTMLFormHandler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm User::Config::UI::HTMLFormHandler
CPAN shell
perl -MCPAN -e shell install User::Config::UI::HTMLFormHandler
For more information on module installation, please visit the detailed CPAN module installation guide.