NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Why two modules? (Score:2)
It seems like a complete waste to me. More work for packagers, more wasted space on CPAN, bigger CPAN indexes, more modules and idiotic dependencies for people unlucky enough to try installing something that depends on a gazillion modules (like many Perl things does these days).
- ask
-- ask bjoern hansen [askbjoernhansen.com], !try; do();
Reply to This
Re: (Score:2)
It's two modules because merely asking "is this a Unix system?" is different from asserting that "this must be a Unix system". Actually, CheckOS can do the assertion as well, but I thought that cutting the amount of code required to make the assertion to the absolute minimum would be a good idea seeing that that will, I think, be the most common usage.
Dependency hell? Hardly. Declare it as a pre-requisite and CPAN.pm will do the business. If you're not using CPAN.pm to fetch and install dependencies t
Re: (Score:1)
For this to work in a Makefile.PL or Build.PL, it can't be an ordinary dependency. It will either need to be a "configure_requires" -- for which support is only available in recent versions of CPAN, or it will need to be bundled into an "inc" directory -- the preferred course, I think.
This would ensure that the OS is a Unix variant or else it will die (signaling to CPAN to stop with build/test/install) and with a prope
Re: (Score:2)
The shiny new File::Find::Rule::Permissions I released uses Devel::AssertOS::Unix in the module. So it'll get as far as trying to run the tests on non-Unix platforms, then bail out with 'OS unsupported', which is close enough for now.
Schwern has mumbled about releasing some inc thingy for EU::MM. Perhaps in the mean time I should add a 'add_develassertos_inc' script to the distribution which would do everything necessary to a Makefile.PL in the current directory:
$ add_develassertos_inc FreeBSD NetBSD