Use Percona::Toolkit::_d() and Dumper(). Set Lmo::VERSION=0.01.

This commit is contained in:
Daniel Nichter
2012-12-24 14:48:02 -07:00
parent 861cc8fd96
commit 0083216a6c
3 changed files with 5 additions and 26 deletions

View File

@@ -34,7 +34,7 @@ sub check_type_constaints {
|| Carp::confess(
qq<Attribute ($attribute) does not pass the type constraint because: >
. qq<Validation failed for '$check_name' with value >
. (defined $val ? Lmo::Dumper($val) : 'undef') )
. (defined $val ? Percona::Toolkit::Dumper($val) : 'undef') )
}
# Nested (or parametized) constraints look like this: ArrayRef[CONSTRAINT] or