# New Ticket Created by Enrico Sorcinelli # Please include the string: [perl #36967] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36967 >
This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.35 running under perl v5.8.7. Pod/Perldoc.pm adds also .pod extension (to perldoc argument) only if: 1) -m switch hasn't been specified or 2) for 'pod/' or 'pods/' subdirectories (even if -m switch has been specified). Sincerely, I don't know if there's a directive and/or specification and/or a reason that suggests to put *.pod files (shipped in a distribution) into a pod/ or pods/ subdirectory, but there are many CPAN modules that don't do it! :-) So for example: %> perldoc -m perlboot works well (in general with all core pods, since them lives under pods/ directory), but: %> perldoc -m lwpcook doesn't work (with the last you must have LWP installed in your system). IMHO, 1) and 2) conditions are a nonsense together. I've included a simple patch over Pod/Perldoc.pm 3.14 for checking also .pod (indipendently from -m switch presence). Regards - Enrico --- Flags: category=library severity=low --- Site configuration information for perl v5.8.7: Configured by bepi at Thu Aug 4 15:55:39 CEST 2005. Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.4.22, archname=i686-linux-thread-multi uname='linux helena 2.4.22 #6 tue sep 2 17:43:01 pdt 2003 i686 unknown unknown gnulinux ' config_args='-des -Dprefix=/disk2/local/perl-5.8.7 -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.2.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: --- @INC for perl v5.8.7: /disk2/local/perl-5.8.7/lib/5.8.7/i686-linux-thread-multi /disk2/local/perl-5.8.7/lib/5.8.7 /disk2/local/perl-5.8.7/lib/site_perl/5.8.7/i686-linux-thread-multi /disk2/local/perl-5.8.7/lib/site_perl/5.8.7 /disk2/local/perl-5.8.7/lib/site_perl . --- Environment for perl v5.8.7: HOME=/home/bepi LANG=C LANGUAGE (unset) [EMAIL PROTECTED] LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt-3.2.1/bin:. PERL_BADLANG (unset) SHELL=/bin/bash
Perldoc.pm-3.14-switchm_patch
Description: Binary data