fixed builtin/module ambiguity for perldoc
--HG-- branch : pmacs2
This commit is contained in:
parent
6fd4cb109f
commit
48571071c1
|
@ -257,7 +257,8 @@ class PerlViewWordPerldoc(Method):
|
|||
w.application.set_error('invalid word: %r' % word)
|
||||
return
|
||||
|
||||
# first try it is a package
|
||||
# first try it is a package, unless it's a builtin
|
||||
if not token.name == "perl_builtin":
|
||||
parts = word.split('::')
|
||||
while len(parts) > 0:
|
||||
newword = '::'.join(parts)
|
||||
|
|
Loading…
Reference in New Issue