This is a simple mode for editing cpanfile for Perl 5 modules. It provides syntax highlighting for module requirements as described in CPAN::Meta::Spec, and imenu integration.
This mode derives from perl-mode
(or cperl-mode
, if you aliased it.)
If you’re on use-package with quelpa, add this in your init.el
:
(use-package cpanfile-mode
:quelpa (cpanfile-mode :fetcher github :repo "zakame/cpanfile-mode"))
Then visit your project’s cpanfile
.
To quickly find a required package, call M-x imenu
or similar.
Soon to find its way on MELPA!