sub ah2_valid
{
my ( $c ) = @_;
my %errors;
my $data = $c->stash->{form}->get_values;
$c->log->info("*** ah2_valid ******");
foreach my $k (keys %{$c->req->body_params})
{
next unless $k =~ /^ah2/;
int_comma_err($data->{$k},\%errors,'ah2') if $data->{$k};
#print STDERR $c->req->body_params->{$k} . "\n";
}
return _set_custom_errors( $c , %errors ) ? 0: 's2/ag' ;
}
Happy New Year, if I don't get back here before Friday.
3 comments:
Happy New Year Anne! I send you the very best wishes possible!
Well, my blog roll starts anew tomorrow. I'd be honored if you participate again in 2010. Leave a comment and you're on the blog roll! Thanks for visiting and commenting in 2009.
You lost me at "Code".
Post a Comment