parent
7b29059a56
commit
c971b52fb1
|
@ -235,7 +235,7 @@ class PerlViewWordPerldoc(Method):
|
|||
cmd = "perldoc -t -T '%s'" % (word,)
|
||||
perllib = w.application.config.get('perl.lib')
|
||||
if perllib:
|
||||
cmd = 'PERL5LIB=%r %s' % cmd
|
||||
cmd = 'PERL5LIB=%r %s' % (w.mode.perllib, cmd)
|
||||
(status, data) = commands.getstatusoutput(cmd)
|
||||
if status == 0:
|
||||
return data
|
||||
|
|
Loading…
Reference in New Issue