Perl-LanguageServer
Perl-LanguageServer copied to clipboard
Perlbrew cmd
Setting perlCmd to
perlbrew --quiet exec --halt-on-error --with perl-5.XX.X perl
doesn't work as expected - presumably because of some exit status shenanigans, although --halt-on-error should take care of that (https://github.com/gugod/App-perlbrew/pull/343).
However, using the following wrapper shell script does work (with its path as perlCmd):
#!/usr/bin/env bash
source ~/perl5/perlbrew/etc/bashrc && perlbrew use perl-5.XX.X && perl $@
echo $?