branch : pmacs2
This commit is contained in:
moculus 2008-05-06 18:37:27 +00:00
parent 7b29059a56
commit c971b52fb1
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class PerlViewWordPerldoc(Method):
cmd = "perldoc -t -T '%s'" % (word,) cmd = "perldoc -t -T '%s'" % (word,)
perllib = w.application.config.get('perl.lib') perllib = w.application.config.get('perl.lib')
if perllib: if perllib:
cmd = 'PERL5LIB=%r %s' % cmd cmd = 'PERL5LIB=%r %s' % (w.mode.perllib, cmd)
(status, data) = commands.getstatusoutput(cmd) (status, data) = commands.getstatusoutput(cmd)
if status == 0: if status == 0:
return data return data