Perl-LanguageServer icon indicating copy to clipboard operation
Perl-LanguageServer copied to clipboard

Perlbrew cmd

Open CyprusSocialite opened this issue 1 year ago • 0 comments

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 $?

CyprusSocialite avatar Jun 23 '24 09:06 CyprusSocialite