Subject: | Test::Mode::is_deeply does not support globjects |
is_deeply (more precisely, _deep_check) does not allow for the possibility of complex structures that are based on a glob and are (e.g.) both an ARRAY *and* a HASH.
This is because the logic of _deep_check is basically a switch without fallthrough; if an object is-an ARRAY, the rest of the comparisons will not be made.
The fix is to allow fallthrough, but detect and propagate errors immediately. I'll gladly submit a patch if the maintainers indicate they are willing to apply it (globjects are something of an obscure feature).