Skip to content
Docs Try Aspire
Docs Try

withLocalLib

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.4.0
interface PerlAppResource {
// ... omitted for brevity
withLocalLib(path?: string): PerlAppResource;
}

Signature

method withLocalLib builder
Configures the Perl application to use a local::lib directory for module isolation. Sets `PERL5LIB`, `PERL_LOCAL_LIB_ROOT`, `PERL_MM_OPT`, and `PERL_MB_OPT` environment variables so that modules are resolved from and installed into the local directory.
withLocalLib(path?: string): PerlAppResource
path string optional = local
PerlAppResource

Applies to

This method applies to the following types: