Skip to main content

Crate perl_module_path

Crate perl_module_path 

Source
Expand description

Perl module name/path conversion helpers.

This crate provides a small, focused API for converting between canonical Perl module names (for example, Foo::Bar) and module file paths (for example, Foo/Bar.pm).

Functionsยง

file_path_to_module_name
Convert a filesystem source path into a likely module name.
module_name_to_path
Convert a module name into a relative Perl module path.
module_path_to_name
Convert a module path/key into a module name.
normalize_package_separator
Normalize legacy package separator ' to canonical ::.