use CGI::FormBuilderX::More; use CGI::FormBuilderX::More::InputTie; my $form = CGI::FormBuilderX::More->new( ... ); my %hash; tie %hash, $form; # %hash is now tied to the input of $form if (exists $hash{username}) { ... } $hash{password} = "12345"
my %hash; tie %hash, $form; # %hash is now tied to $form input
$hash{$key} = $value sub { return $form->input_store($key, $value) }
$value = $hash{$key}; sub { return $form->input_fetch($key) }
exists $hash{$key}; sub { return ! $form->missing($key) }
sub { return scalar $form->{params}->param }
N/A
To install CGI::FormBuilderX::More, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::FormBuilderX::More
CPAN shell
perl -MCPAN -e shell install CGI::FormBuilderX::More
For more information on module installation, please visit the detailed CPAN module installation guide.