See Original text in context
multi method candidates(Str , :, :, :)multi method candidates(CompUnit::DependencySpecification )
Return all distributions that contain a module matching the specified $name
, auth
, ver
, and api
.
# assuming one is cloned into the zef git repository...my = CompUnit::Repository::FileSystem.new(prefix => );with .candidates("Zef").head ->else
See Original text in context
method candidates(Routine: --> Positional)
Returns a list of multi candidates, or a one-element list with itself if it's not a multi
See Original text in context
multi method candidates(Str , :, :, :)multi method candidates(CompUnit::DependencySpecification )
Return all distributions that contain a module matching the specified $name
, auth
, ver
, and api
.
my = CompUnit::RepositoryRegistry.repository-for-name("perl").prefix;my = CompUnit::Repository::Installation.new(prefix => );my = .candidates("Test").head;say "Test version: " ~ .meta<ver>; # OUTPUT: «6.d»