Re: Comparing hashes

2010-01-18 Thread mackenna
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 a

Re: Comparing hashes

2010-01-19 Thread mackenna
Bruce Gray's reply indicates that your routine, that constructs the array that you were comparing to the "gold" one, was populating the array by using each(%hash). Since the order in which entries are returned is not consistent, you can't use a "known correct" comparison. It seems he even sent y

Re: Module::Build question

2010-02-18 Thread mackenna
$^X is simpler, and simpler solutions are preferable. Can it be wrong? cmac On Feb 17, 2010, at 4:02 AM, David Cantrell wrote: On Tue, Feb 16, 2010 at 06:47:25PM -0800, cr...@animalhead.com wrote: So I would like to add some tests to one of my test files, involving something like `perl -c s

Re: how to give a list of alternative requirements?

2010-03-27 Thread mackenna
I don't use Module::Install either, but here's a snippet that does dynamic requiring using EU::MM directly: # require JE if no JavaScript eval 'require JavaScript'; my @optional = $@ ? ('JE' => 0.044) : (); WriteMakefile( 'PREREQ_PM' => {'LWP' => 5.834,

Re: Spam to CPAN Developers? (Fwd: Betonmarkets CTO position)

2011-09-07 Thread mackenna
ad 14K per week. The current week is down to 2600. That's one good piece of news in the world. Craig MacKenna http://www.animalhead.com On Sep 6, 2011, at 2:52 AM, Olof Johansson wrote: On 2011-09-06 10:15 +0100, Nicholas Clark wrote: But it does seem that the *only* firm that is