Closed p5pRT closed 21 years ago
perldoc always checks for Makefile.PL in the current directory\, attempts "use blib" if it finds one\, and dies if it doesn't find one. If one happens to be in a directory containing this file\, such as a freshly unpacked tarball\, perldoc is non-functional.
To reproduce problem (must not be root):
$ cd $ mkdir bug $ cd bug $ touch Makefile.PL $ perldoc -f print Cannot find blib even in /home/larryd/bug/../../../../.. BEGIN failed--compilation aborted at (eval 2) line 1. ...propagated at /usr/local/bin/perldoc line 165.
perldoc always checks for Makefile.PL in the current directory\, attempts "use blib" if it finds one\, and dies if it doesn't find one. If one happens to be in a directory containing this file\, such as a freshly unpacked tarball\, perldoc is non-functional.
To reproduce problem (must not be root):
$ cd $ mkdir bug $ cd bug $ touch Makefile.PL $ perldoc -f print Cannot find blib even in /home/larryd/bug/../../../../.. BEGIN failed--compilation aborted at (eval 2) line 1. ...propagated at /usr/local/bin/perldoc line 165.
This is a bug report for perl from larryd@arttoday.com\, generated with the help of perlbug 1.28 running under perl v5.6.0.
----------------------------------------------------------------- [Please enter your report here]
perldoc always checks for Makefile.PL in the current directory\, attempts "use blib" if it finds one\, and dies if it doesn't find one. If one happens to be in a directory containing this file\, such as a freshly unpacked tarball\, perldoc is non-functional.
Certainly that insanity will be cured in the impending brain-transplant.
--tom
Richard Foley \Richard\.Foley@​m\.dasa\.de writes:
----------------------------------------------------------------- [Please enter your report here]
perldoc always checks for Makefile.PL in the current directory\, attempts "use blib" if it finds one\, and dies if it doesn't find one. If one happens to be in a directory containing this file\, such as a freshly unpacked tarball\, perldoc is non-functional.
To reproduce problem (must not be root):
$ cd $ mkdir bug $ cd bug $ touch Makefile.PL $ perldoc -f print Cannot find blib even in /home/larryd/bug/../../../../.. BEGIN failed--compilation aborted at (eval 2) line 1. ...propagated at /usr/local/bin/perldoc line 165.
I had the same problem and cured my perldoc with this patch:
Recent perl's use Pod::Perldoc which doesn't have this problem.
@rspier - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#3281 (status was 'resolved')
Searchable as RT3281$