in reply to Data::FormValidator constraints against local sub routine

I had a question on how I would be able to make a constraint run through a local routine that I create?

You can just pass a reference to the subroutine in the constraint. In your code above, change "check_password" to \&check_password:

constraints => { ipf_password => { constraint => \&check_password, params => [ qw( ipf_password ipf_confirm_password ) ], }, }

Or you can do it with an anonymous subroutine:

constraints => { ipf_password => { constraint => sub { $_[0] eq $_[1] }, params => [ qw( ipf_password ipf_confirm_password ) ], }, }

I suspect that 'ipf_passowrd' was a transcription error when you wrote this message...

Also, I have to wonder why you are using version 1.6 of the module. It will be much less painful to upgrade to the latest version now, then it will be once you put this code in production. Since the current version is 3.15, you are way out of date...

- Cees