Class-DBI-FromCGI
view release on metacpan or search on metacpan
lib/Class/DBI/FromCGI.pm view on Meta::CPAN
unless $class->can('__untaint_types');
my %types = %{ $class->__untaint_types || {} };
while (my ($type, $ref) = each(%args)) {
$types{$type} = $ref;
}
$class->__untaint_types(\%types);
}
sub cgi_update_errors { %{ shift->{_cgi_update_error} || {} } }
sub update_from_cgi {
my $self = shift;
die "update_from_cgi cannot be called as a class method" unless ref $self;
__PACKAGE__->_run_update($self, @_);
}
sub create_from_cgi {
my $class = shift;
die "create_from_cgi can only be called as a class method" if ref $class;
__PACKAGE__->_run_create($class, @_);
}
( run in 0.260 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )