CAP::ValidateRM 2.1
CA 4.03
Hello,
there is a simple profile in application based on CGI::Application and
CAP::ValidateRM like that:
====================
sub _form_profile {
return {
required => 'email',
msgs => {
any_errors => 'some_errors',
prefix => 'err_',
},
};
}
my ($results,$err_page) = $self->check_rm('form_display','_form_profile');
====================
How can I use C::A object (ie. $self in the example) in the _form_profile
subroutine? I want to have my constraints based on $self method and properties.
Thank you in advance.
Wojciech Pietron
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]