sub respond_per_app{ my $self = shift; # If we validate, go ahead with page-specific items. return 0 if $self->param($self->config_state_param) and $self->validate(); # If we are here, something failed, so re-render ourselves. return $self; } #### sub validator_profile{ # Set some app-wide values for the profile for Data::FormValidator. { validator_packages => [qw( My::Constraints )], msgs => { format => '%s', invalid_seperator => '!', constraints => \%My::constraint_msgs }, }; }