Subject: | path for array elements doesn't report the array index |
Paths don't include array index information. For example:
my %schema
= (
s => { type => 'array', subtype => 'integer' }
);
validate( schema => \%schema, config => { s => [ 1, 'frank', 3 ] } );
results in
Config::Validate::validate(): [/s] should be an integer, but has value
of 'frank' instead
Perhaps something like
"[/s[1]] should be an integer..."
similar to Data::Path?
Thanks,
Diab