Skip to main content

Crate perl_module_resolution

Crate perl_module_resolution 

Source
Expand description

Deterministic and secure Perl module resolution helpers.

This crate combines URI and filesystem module resolution strategies. Filesystem lookup is delegated to perl_module_resolution_path to preserve a strict single-responsibility boundary for path handling.

The use_lib module extracts additional include paths from use lib pragmas and FindBin patterns in Perl source text.

Modules§

use_lib
Extract include paths from use lib and FindBin statements.

Enums§

ModuleUriResolution
Outcome of a module name to URI resolution attempt.

Functions§

resolve_module_path
Resolve a Perl module name to a workspace-relative filesystem path candidate.
resolve_module_uri
Resolve a module name to a file:// URI using deterministic precedence.