Expand description
Boundary-safe Perl module token replacement helpers.
This crate provides a small, focused API used by module-rename workflows.
It handles canonical (Foo::Bar) and legacy (Foo'Bar) separator variants
and delegates standalone token scanning to perl-module-boundary.
Functionsยง
- contains_
module_ token - Returns
truewhenlinecontainsmodule_nameas a standalone module token, respecting module boundaries. - module_
variant_ pairs - Build canonical + legacy module rename pairs.
- replace_
module_ token - Replace standalone
frommodule token occurrences inlinewithto.