Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Update these modules if installed?by LanX (Saint) |
on Mar 08, 2020 at 02:21 UTC ( [id://11113960]=note: print w/replies, xml ) | Need Help?? |
> because they do not actually require() or use() Log::ger, but instead are used together by users in the user's code. However, the plugins do "depend" on the Log::ger API How is it possible to depend on the API of a module one doesn't require ? IMHO if you need another modules API, then you are calling it's subs or methods, hence you need to import them. Sorry, this really smells like bad design.
editanyway, IIRC you are able to list dependencies to other modules and versions as JSON or YAML in a distribution without actually importing them.
updatesee CPAN::Meta
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|