Adam Kennedy wrote:
> Of course, the "recommends" keyword also doesn't mean what you think
> it means and is largely pointless.

Near as I can figure what Adam's complaining about, since apparently we're
mind readers now and so is he, is that, AFAIK, no CPAN client currently does
anything with recommends.  This is a SMOP to fix, and I note that Adam is a
programmer.

That or Adam's on another "never ask the user anything" tear.

The intent of requires vs recommends is to implement something like the Debian
Binary Dependency structure where "requires" == "Depends".  Debian's
"Recommends" suggests a stronger dependency than we do, since we lack
"Suggests", and our "recommends" simply means "optional dependency".
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps

You can use "recommends" along with "auto_features" to have Module::Build
auto-detect what optional dependencies are available to your module.  See
Module::Build::API.


-- 
52. Not allowed to yell "Take that Cobra" at the rifle range.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Reply via email to