From 536a2ebb719d1643465ccc7b7a866199249b2842 Mon Sep 17 00:00:00 2001 From: moculus Date: Tue, 6 Jan 2009 23:45:05 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- mode/perl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)