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

Re^2: [meta::cpan] Dependency vs Reverse Dependency

by LanX (Sage)
on Jul 07, 2021 at 13:32 UTC ( #11134760=note: print w/replies, xml ) Need Help??


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 (Chancellor) 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 (Archbishop) 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]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2021-09-28 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?