CGI::Untaint::object - base class for Input Handlers
package MyUntaint::foo; use base 'CGI::Untaint::object'; sub _untaint_re { return qr/$your_regex/; } sub is_valid { my $self = shift; return is_ok($self->value); } 1;
This is the base class that all Untaint objects should inherit from.
To install CGI::Untaint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint
CPAN shell
perl -MCPAN -e shell install CGI::Untaint
For more information on module installation, please visit the detailed CPAN module installation guide.