parent
b3a29d3070
commit
733d522314
|
@ -301,11 +301,13 @@ class PerlSetLib(Method):
|
||||||
'''Set the path(s) to find perl modules'''
|
'''Set the path(s) to find perl modules'''
|
||||||
args = [arg("lib", dt='path', p="Lib: ", dv=lambda w: '.')]
|
args = [arg("lib", dt='path', p="Lib: ", dv=lambda w: '.')]
|
||||||
def _execute(self, w, **vargs):
|
def _execute(self, w, **vargs):
|
||||||
w.application.config['perl.libs'] = vargs['lib'].split(':')
|
libs = vargs['lib'].split(':')
|
||||||
|
w.application.config['perl.libs'] = libs
|
||||||
class PerlAddLib(PerlSetLib):
|
class PerlAddLib(PerlSetLib):
|
||||||
'''Set the path(s) to find perl modules'''
|
'''Add a path(s) to find perl modules'''
|
||||||
def _execute(self, w, **vargs):
|
def _execute(self, w, **vargs):
|
||||||
w.application.config['perl.libs'].append(vargs['lib'])
|
libs = vargs['lib'].split(':')
|
||||||
|
w.application.config['perl.libs'].extend(libs)
|
||||||
|
|
||||||
class PerlBase(Method):
|
class PerlBase(Method):
|
||||||
bname = '*Perl*'
|
bname = '*Perl*'
|
||||||
|
|
Loading…
Reference in New Issue