perl-module-token
Standalone Perl module token helpers for line-based workflows.
Use this crate when you need a quick yes/no or replacement for a module token on a single line, but not the full cursor-aware parse.
Pipeline
perl-module-token-coreparses the token span.perl-module-tokenenforces standalone boundaries and performs replacement.perl-module-boundaryandperl-module-renamebuild on this behavior for higher-level workflows.
Key API
contains_module_tokenreplace_module_token
Example
use ;
assert!;
let = replace_module_token;
assert_eq!;
assert!;