in reply to Update dependants if installed (was: Update these modules if installed?)
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.
anyway, IIRC you are able to list dependencies to other modules and versions as JSON or YAML in a distribution without actually importing them.
see CPAN::Meta
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Update these modules if installed?
by perlancar (Hermit) on Mar 08, 2020 at 13:00 UTC | |
by stevieb (Canon) on Mar 08, 2020 at 15:12 UTC | |
by perlancar (Hermit) on Mar 08, 2020 at 16:03 UTC | |
by LanX (Saint) on Mar 08, 2020 at 14:40 UTC | |
by perlancar (Hermit) on Mar 08, 2020 at 15:06 UTC |