From a quick glance at the first error, it involves using
is_deeply to compare arrays of arrays, not hashes.  So
it's not clear "how Perl organizes the hash" gets involved.

You also have a failure on perl 5.8.1 that looks very similar,
so 5.6.2 is less of a suspect.

You need to explain certain aspects of the problem more
completely to allow someone to help you, particularly:

"what's generated at run time: it comes out different"
"dealt with this problem" (what problem?)
"getting it just right" (what's it?)
"using an unsupported feature" (which feature is that?)


On Jan 17, 2010, at 4:31 PM, Geoffrey Leach wrote:

I'm dealing with an error report from cpantesters for Getopt::Auto.

The problem arrises out of using Test::More::is_deeply to compare a
hash with what's generated at run time: it comes out different.

I've delt with this problem in my own testing, and have spent some time
getting it 'just right'. I suspect the problem arrises out of how Perl
organizes the hash. The version with the problem is perl-5.6.2. Later
versions pass. Given that I'm using an unsupported feature, things may
well come unglued in the future.

So, are there any suggestions? Test::Deep? 'use Perl 5.8.0'?

Thanks.


Reply via email to