According to Data::FormValidator::Results the ->valid method "...returns an hash reference which contains the valid fields as keys and their input as values". That seems to indicate that you could replace your my $data = {painful enumeration }; with my $data = $results->valid;. Then, use Data::Dumper; print Dumper($data); will show if any of the results are anything other than the scalars you expect.
update - right, Catalyst. Make that use Data::Dumper; $c->log->debug("\$data:\n".Dumper($data));
In reply to Re: Weird hash ref variable issue
by keszler
in thread Weird hash ref variable issue
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |