- or download this
sub selftest(@){
my $self = _self(@_);
print Dumper(@_);
...
return;
}
}
- or download this
my $chk = new Data::Validate::OO(
-failure => sub{ my $rule = shift; print "Error in rule '$rule': ".
+join(', ',@_)."\n"; },
);
$chk->selftest(qw(This Is a Test of the emergency broadcast system!));
- or download this
$VAR1 = bless( {
'_error' => '',
'_fail' => sub { "DUMMY" },
...
$VAR9 = 'broadcast';
$VAR10 = 'system!';
Not an ARRAY reference at OO.pm line 264.