Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by LanX (Saint)
on Jul 07, 2021 at 13:32 UTC ( [id://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

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]

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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found