This is a Vim9 plugin for critical Perl.
It will run perlcritic whenever you open or write a Perl file.
The warnings are shown beneath the lines they are caused by.
You can jump between them with [w and ]w.

$ curl https://j.wied.co/perlcritic.vim \
--create-dirs \
-o $HOME/.vim/pack/plugins/start/perlcritic/plugin/perlcritic.vim