develooper Front page | perl.perl5.porters | Postings from April 2010

[perl #74808] Carp.pm POD error

Thread Previous
From:
Gene Sullivan
Date:
April 30, 2010 11:06
Subject:
[perl #74808] Carp.pm POD error
Message ID:
rt-3.6.HEAD-27388-1272645858-150.74808-75-0@perl.org
# New Ticket Created by  Gene Sullivan 
# Please include the string:  [perl #74808]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74808 >


This is a bug report for perl from Gene Sullivan,
generated with the help of perlbug 1.36 running under perl 5.10.0.


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

Bug Summary
===========

There is an error in the Carp.pm Plain Old Documentation (POD).
The documentation incorrectly states that the $Carp::Verbose
variable makes cluck generate stack backtraces.  cluck
already generates stack backtraces.  It should say that
the variable makes croak generate stack backtraces.


Patch
=====

The error is fixed the following patch to Carp.pm (diff -u):

--- Carp.pm     2009-06-15 04:21:42.000000000 -0400
+++ Carp.pm.fix 2010-04-20 21:22:04.943181000 -0400
@@ -175,7 +175,7 @@

 =head2 $Carp::Verbose

-This variable makes C<carp> and C<cluck> generate stack backtraces
+This variable makes C<carp> and C<croak> generate stack backtraces
 just like C<cluck> and C<confess>.  This is how C<use Carp 'verbose'>
 is implemented internally.


Version
=======

The $VERSION of Carp.pm I have installed is 1.08.
The latest version I can find on CPAN is 1.15, and the error
exists there too.



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

Configured by root at Mon Jun 15 16:10:47 CST 2009.

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.6.9-67.elsmp, archname=x86_64-linux
    uname='linux 2.6.9-67.elsmp #1 smp wed nov 7 13:56:44 est 2007 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/oss/perl/5.10.0/x86_64'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/include/gdbm'
    ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-9)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2'

Locally applied patches:


---
@INC for perl 5.10.0:
    /oss/perl/5.10.0/x86_64/lib/5.10.0/x86_64-linux
    /oss/perl/5.10.0/x86_64/lib/5.10.0
    /oss/perl/5.10.0/x86_64/lib/site_perl/5.10.0/x86_64-linux
    /oss/perl/5.10.0/x86_64/lib/site_perl/5.10.0
    .

---
Environment for perl 5.10.0:
    HOME=/home/gsulliva
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/oss/perl/5.10.0/x86_64/lib64:/oss/tcl/8.4.19/x86_64/lib:/oss/tcl/8.4.19/x86_64/lib/tcl8.4:/oss/tcl/8.4.19/x86_64/lib/tclx8.4:/lib64:/lib:
    LOGDIR (unset)
    PATH=/oss/perl/5.10.0/x86_64/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin
    PERLDOC=-i
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh




Thread Previous


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