Hello again Maryana,
It appears that you are not following the format of the example given
below,
which is the cause of you error. You have the right idea about how to
call an
anonymous subroutine (like this: \&subroutine ). Here's a test script
with the
syntax you are looking for:
###
use
Hi, Mark!
Thanx for answer - it's partly help me to resolve my problem (now I use
Data::FormValidator). Tnx for so usefull module ;o)
But to call my function I need do it in that way:
p1 => {
constraint => \&main::valid_equiv,
params => [ qw (p1 p2)],
},
whe
> -- Forwarded Message
> From: "Maryana Osipchuk" <[EMAIL PROTECTED]>
> When I try using this one (as constraint rule - my own function)
> --
> p1 => {
> constraints => valid_equiv,
> params => [qw (p1 p2)]
> }
> valid_equiv as &main::valid_equiv
> --
> I rec