Blessing into a non-overloaded package is the official way to get around such difficulties. 'Does::Not::Exist' is a popular one.
My problem was that with a deeply nested data structure, I'd have to walk the entire thing first, find all the objects blessed into the overloaded class, and rebless them prior to asking Test::More to compare the structures. I have the opinion that its all that structure walking that prompted me to use is_deeply() in the first place but to have it fail to work because I couldn't convince it to ignore overloading was a disappointment.
In reply to Re^9: Recursively traverse two data structures and test for match (testing / overload)
by diotalevi
in thread Recursively traverse two data structures and test for match
by TedPride
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |