Documentation for method need assembled from the following pages:

Role: CompUnit::Repository §

From CompUnit::Repository

(CompUnit::Repository) method need §

Loads and returns a CompUnit which is mapped to the highest version distribution matching $spec from the first repository in the repository chain that contains any version of a distribution matching $spec.

Class: CompUnit::Repository::FileSystem §

From CompUnit::Repository::FileSystem

(CompUnit::Repository::FileSystem) method need §

method need(
    CompUnit::DependencySpecification $spec,
    CompUnit::PrecompilationRepository $precomp = self.precomp-repository(),
    CompUnit::PrecompilationStore :@precomp-stores = self!precomp-stores(),
    --> CompUnit:D)

Loads and returns a CompUnit which is mapped to the highest version distribution matching $spec from the first repository in the repository chain that contains any version of a distribution matching $spec.

Class: CompUnit::Repository::Installation §

From CompUnit::Repository::Installation

(CompUnit::Repository::Installation) method need §

method need(
    CompUnit::DependencySpecification $spec,
    CompUnit::PrecompilationRepository $precomp = self.precomp-repository(),
    CompUnit::PrecompilationStore :@precomp-stores = self!precomp-stores(),
    --> CompUnit:D)

Loads and returns a CompUnit which is mapped to the highest version distribution matching $spec from the first repository in the repository chain that contains any version of a distribution matching $spec.