http://qs321.pair.com?node_id=11134760


in reply to Re: [meta::cpan] Dependency vs Reverse Dependency
in thread [meta::cpan] Dependency vs Reverse Dependency

So is an "Optional Prereq" a "Reverse Dependency"?

edit

I mean by definition not by implementation of Metacpan.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^2: [meta::cpan] Dependency vs Reverse Dependency

Replies are listed 'Best First'.
Re^3: [meta::cpan] Dependency vs Reverse Dependency
by hippo (Bishop) on Jul 07, 2021 at 13:45 UTC

    Possibly. For example, some modules may require a JSON parser but be agnostic about which JSON parser. You could install such a module without JSON::XS or without JSON::PP or without JSON::Foo but not without at least one of them. Individually they are not required but collectively at least one of them is. I'm not sure that the existing meta spec handles such a scenario in a logical, intuitive, consistent manner.


    🦛

Re^3: [meta::cpan] Dependency vs Reverse Dependency
by choroba (Cardinal) on Jul 07, 2021 at 13:41 UTC
    I don't know the definiton, but the implementation seems to be here.
    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]