Harmont docs
Pipeline SDKReferenceToolchains

Perl

Generated reference for the harmont Perl API.

perl

Callable singleton for the Perl toolchain — access as hm.perl.

Call directly to construct a PerlProject, or use the bare-form action methods (perl.test(), perl.lint()) for a one-shot leaf.

perl(*, path='.', image=None, base=None) -> PerlProject
ParameterTypeDefaultDescription
pathstr'.'Path to the Perl project root (must contain a cpanfile).
imagestr | NoneNoneLocal-mode Docker base image override.
baseStep | NoneNoneExisting Step to attach to instead of emitting a fresh
apt-base step.

Returns PerlProject — A PerlProject whose installed step is the cpanm-deps step.

perl.lint()

lint(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

perl.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

PerlEntry

Callable singleton for the Perl toolchain — access as hm.perl.

Call directly to construct a PerlProject, or use the bare-form action methods (perl.test(), perl.lint()) for a one-shot leaf.

PerlEntry.lint()

lint(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

PerlEntry.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

PerlProject

Perl project install chain — constructed via hm.perl().

installed is the cpanm-deps step. Action methods (test, lint) attach leaves to installed.

Fields

FieldTypeDefault
pathstrrequired
installedSteprequired

PerlProject.lint()

lint(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

PerlProject.test()

test(**kw) -> Step
ParameterTypeDefaultDescription
kwAny{}

Returns Step

On this page