develooper Front page | perl.perl5.porters | Postings from December 2001

[ID 20011219.004] Pod::Usage does not terminate with a true value

From:
martyn
Date:
December 19, 2001 11:09
Subject:
[ID 20011219.004] Pod::Usage does not terminate with a true value
Message ID:
E16Gm1U-00005z-00@baker-st.inpharmatica.co.uk

This is a bug report for perl from martyn@baker-st.inpharmatica.co.uk,
generated with the help of perlbug 1.33 running under perl v5.7.2.


-----------------------------------------------------------------
[Please enter your report here]

Pod::Usage does not have a 1 as its final value; in fact, the final value is a
subr, which has a questionable truth value.  Patch attached

--- Usage.pm.orig       Wed Dec 19 18:59:51 2001
+++ Usage.pm    Wed Dec 19 19:00:55 2001
@@ -557,3 +557,5 @@
     return  $self->SUPER::preprocess_paragraph($_);
 }
 
+1; # keep require happy
+


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
---
Site configuration information for perl v5.7.2:

Configured by martyn at Wed Dec 19 18:24:29 GMT 2001.

Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 13793) configuration:
  Platform:
    osname=linux, osvers=2.4.4, archname=i686-linux-thread-multi
    uname='linux baker-st 2.4.4 #3 sun jul 15 17:23:07 gmt 2001 i686 unknown '
    config_args='-Dprefix=/home/baker-st/martyn/exec/bleadperl -Dusethreads -Duseithreads -Dusedevel -DDEBUGGING -Doptimize=-g -Uinstallusrbinperl -des'
    hint=previous, 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 -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    ccversion='', gccversion='2.95.4 20010319 (Debian prerelease)', 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 -ldbm -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.3.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    DEVEL13745

---
@INC for perl v5.7.2:
    /home/baker-st/martyn/exec/bleadperl/lib/5.7.2/i686-linux-thread-multi
    /home/baker-st/martyn/exec/bleadperl/lib/5.7.2
    /home/baker-st/martyn/exec/bleadperl/lib/site_perl/5.7.2/i686-linux-thread-multi
    /home/baker-st/martyn/exec/bleadperl/lib/site_perl/5.7.2
    /home/baker-st/martyn/exec/bleadperl/lib/site_perl
    .

---
Environment for perl v5.7.2:
    HOME=/home/martyn
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/home/martyn/lib:/home/baker-st/martyn/exec/lib
    LOGDIR (unset)
    PATH=/home/martyn/bin:/home/baker-st/martyn/exec/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/bash




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About