Quote:
Originally Posted by tompe
Why do you require Perl 5.10.0? Since Debian stable uses 5.8.8 I cannot use the module.
|
Hm. The main new feature from 5.10 that I'm using is the smart-match operator, which is a lot faster than the alternatives (some of which are incredibly messy). Perl 5.10 was released almost a year ago, and I hadn't figured people would still be seriously having problems obtaining it. (You're running Debian Stable on a desktop machine? Why? I'm a Debian developer and even I will cheerfully admit that Stable is generally already obsolete almost by the time it's released.)
One of the spots where I'm using ~~ I can switch to hashes (it's just uglier, not a real trouble), but in one case I'm using it to determine if two hashes have identical keys, and the workaround for that is messy (I'd have to 'join sort keys %hash' on both hashes and compare the resulting strings, both slower and uglier). I'm also using it to check if the HUFF little-endian and big-endian tables match, which is an array compare I'd have to iterate through, which is a lot slower than ~~, but I suppose in theory I could skip it altogether because it's just a sanity check for corrupt data.
This alone probably won't help you because of your next problem, though...
Quote:
Originally Posted by tompe
Shouldn't dependencies be automatically loaded?
|
Module dependencies are. You just ran into a build environment dependency -- you need Module::Build installed, and specifically, a version >= 0.3000. That's going to cause you another problem, because the latest version in Debian Stable is 0.26. The MakeMaker compatibility stuff is just there to interface with autobuilders like CDBS that don't understand Module::Build yet. I could in theory change the Build.PL MakeMaker compatibility from 'small' to 'traditional', which might solve the problem, but then I lose the ability to do build environment checks, which I was planning to use later.
Let me think about this for a bit.
Is anyone else interested in this package also having problems getting a Perl 5.10 environment?