diff --git a/mode/perl.py b/mode/perl.py index 4dfc196..1c7194b 100644 --- a/mode/perl.py +++ b/mode/perl.py @@ -773,10 +773,11 @@ class Perl(mode.Fundamental): return path def get_inc(self): + a = self.window.application if self.perlinc is None: cmd = "perl -e 'print join(\"\\n\", @INC);'" if a.config.get('perl.libs', None): - s = ':'.join(['%r' % x for x in a.config.get('perl.libs')]) + s = ':'.join(['%s' % x for x in a.config.get('perl.libs')]) cmd = 'PERL5LIB=%r %s' % (s, cmd) elif a.config.get('perl.lib', None): cmd = 'PERL5LIB=%r %s' % (a.config.get('perl.lib'), cmd)