[CDBI] Class::DBI::Frozen?

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Oct 26 11:23:28 BST 2005

On Wed, 2005-10-26 at 08:46 +0100, Will Hawes wrote:
> Wouldn't using only.pm accomplish the same thing?

There's a difference if you normally use cpan to install modules. Having
a separate frozen module means that cpan can load it. To use only, you
have to install each version 'by hand' in the traditional way.

If you then consider the case where the 'you' above is not really you,
but some person using some module you wrote that uses CDBI, then you
have no control over what mechanism some person prefers to use to
install software. If it's cpan, and you've chosen to go the only route,
they probably won't even notice there's a problem until they run their
application, and the diagnosis is buried way down in what should be a
black box to them. Naming the frozen module as your dependency avoids
this and seems like a good idea to me.

Cheers, Dave

More information about the ClassDBI mailing list