http://qs321.pair.com?node_id=611169


in reply to Re: Data::FormValidator, equivalent to "require_some_regexp"?
in thread Data::FormValidator, equivalent to "require_some_regexp"?

I think that code can be tightened up a bit:
$profile->{require_some} = { foo_fields => [ 1, grep /^foo_\d+$/, $q->param ] };
But apart from that I'm afraid this is the best solution available to me. Thanks!