parent
5579cea63c
commit
536a2ebb71
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue