good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: case insensitive deep comparisonby davido (Cardinal) |
on Jun 25, 2015 at 02:46 UTC ( [id://1131887]=note: print w/replies, xml ) | Need Help?? |
cmp_deeply may be recursive, but lc isn't. I haven't used Test::Deeply enough to know if cmp_deeply has the ability to accept a comparator callback. If it could, that would make the solution pretty straightforward, but if it can, the documentation doesn't make it apparent. ...something like this would be great:
Dave
In Section
Seekers of Perl Wisdom
|
|