Releasing a module with additional dependencies

David Cantrell david at cantrell.org.uk
Wed Apr 16 12:29:04 BST 2014


On Tue, Apr 15, 2014 at 03:27:07PM +0100, Andrew Beverley wrote:

> A bit of a newbie question on publishing a module.
> 
> I've just taken over as maintainer of Device::VantagePro and released a
> new version with some additional features. One of the features
> (get_timezone) requires DateTime::TimeZone, which was not previously
> needed.
> 
> I need some advice as to whether I should:
> 
> 1. Make DateTime::TimeZone a new mandatory dependency for the whole
> module, even though people might not need the functionality that relies
> on it. This is my preference, but is that approach considered to be a
> Bad Thing?

That's what I'd do. It keeps things simple for both you and your users.

-- 
David Cantrell | Bourgeois reactionary pig

Guns aren't the problem.  People who deserve to die are the problem.


More information about the london.pm mailing list