3 ms·
In perl, you can do use Some::Library v1.2.3; and there's assorted tooling that will turn that into some sort of[0] centralised dependency spec that insta
by mst 2y ago
In perl, you can do
use Some::Library v1.2.3;
and there's assorted tooling that will turn that into some sort of[0] centralised dependency spec that installers can consume.
Also e.g. https://p3rl.org/lib::xi https://p3rl.org/lib::xi will automatically install deps as it hits them, and the JS https://bun.sh/ https://bun.sh/ runtime does similar natively (though I habitually use 'bun install <thing>' to get a package.json and a node_modules/ tree ... which may be inertia on my part).
Th e perl use is a pure >= thing though, whereas I believe raku (née perl6) has
use Some::Raku::Library v1.*.*;
and similar but I'm really not at all an expert there.
[0] it's perl so there's more than one although META.json and cpanfile are both supported by pretty much everything I recall caring about in the past N years