Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: What to specify as minimum dependencies

by pokki (Monk)
on Jan 16, 2011 at 22:08 UTC ( #882575=note: print w/ replies, xml ) Need Help??

in reply to Re: What to specify as minimum dependencies
in thread What to specify as minimum dependencies

That seems a fair way to go about it, thanks! I hadn't even thought of specifying no minimum version.

If, thanks to the CPAN testers, I find that a module version is problematic, I bump my prerequisite version number above that

Do you need to do that often after uploading a module? I guess it depends on whether the authors of your prerequisites changed their API often?

Comment on Re^2: What to specify as minimum dependencies
Replies are listed 'Best First'.
Re^3: What to specify as minimum dependencies
by Corion (Pope) on Jan 17, 2011 at 07:37 UTC

    The "most problematic" module regarding its API was LWP::UserAgent, an indirect prerequisite (through WWW::Mechanize) for WWW::Mechanize::Shell. At a certain version, WWW::Mechanize monkeypatched LWP::UserAgent to provide credentials, and at another version, LWP::UserAgent changed its scheme so that the monkeypatch changed the wrong routine. WWW::Mechanize didn't specify the LWP version number until a later release, so after some trial and error, I pulled up the prerequisite version number of WWW::Mechanize to fix that.

    This was a one time thing so far, so I haven't felt it a real nuisance.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://882575]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-11-27 05:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (718 votes), past polls