[Petal] [Utils] Install errors
Steve Purkis
spurkis at mkdoc.com
Wed Sep 10 14:47:37 BST 2003
On Wednesday, September 10, 2003, at 01:25 pm, William McKee wrote:
> On Wed, Sep 10, 2003 at 11:49:55AM +0100, Steve Purkis wrote:
>> I can honestly say: it's not a bug, it's a feature :-)
>>
>> Amongst other things, Module::Build lets you specify 'required'
>> modules, and 'recommended' modules separately.
>>
>> Date::Format is recommended, not required. Only P::Utils::Date uses
>> it, so if you never use the date: modifier, you're not forced to
>> install a module you may never use.
>
> This makes sense but it'd be nice if the CPAN interface would stop and
> let me know that P::Utils recommends a module rather than just blasting
> past it and failing the tests! In the meantime, it seems like we need
> to
> rewrite the tests to allow for a missing Date::Format module. Is there
> a
> way to check if a module is available and skip the test if not?
Yes, but it looked like too much effort, so now it's required. Patches
welcome :)
-Steve
More information about the Petal
mailing list