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

[perl #117727] documentation in ext/B/B.pm does not cover B::PADLIST ( new since 5.17.4 )

From:
Kent Fredric
Date:
April 23, 2013 17:47
Subject:
[perl #117727] documentation in ext/B/B.pm does not cover B::PADLIST ( new since 5.17.4 )
Message ID:
rt-3.6.HEAD-30191-1366739219-918.117727-75-0@perl.org
# New Ticket Created by  Kent Fredric 
# Please include the string:  [perl #117727]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117727 >


This is a bug report for perl from kentfredric@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.17.11.

-----------------------------------------------------------------
[Please describe your issue here]

I was exploring things and discovered B::svref_2object($code)->PADLIST

Returns an object of undocumented type 'B::PADLIST', that I can only find
reference to in perl5174delta, and is otherwise unexplained.

I assume it retains its previous interface ( which appears to have been
B::AV ), in addition to its new one, but I can't tell from the Docs.

perl5174delta hints at a list of methods it should provide, but its hard to
know if these are "all the methods", and hard to know how
backwards-compatible it may be with previous perls.

nb: perlbug context not hugely relevant, just provided to help get message
past filters

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

Configured by root at Sun Apr  7 07:37:02 NZST 2013.

Summary of my perl5 (revision 5 version 17 subversion 11) configuration:
  Local Commit: 7407006866c3e2c938b43f0bf5ca84431424d65c
  Ancestor: 117af28243a5b43f9072467ac83dbe4d3a2a3d7d
  Platform:
    osname=linux, osvers=3.8.2-gentoo, archname=x86_64-linux
    uname='linux katipo2 3.8.2-gentoo #32 smp fri mar 8 17:29:28 nzdt 2013
x86_64 intel(r) core(tm) i5-2410m cpu @ 2.30ghz genuineintel gnulinux '
    config_args='-de
-Dprefix=/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify
-Dusedevel -Dusedevel -Uman1dir -Uman3dir -Usiteman1dir -Usiteman2dir
-Aeval:scriptdir=/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/bin'
    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 -fstack-protector
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='4.7.2', 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 =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib
/lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.15.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.15'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.17.11:

/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/lib/site_perl/5.17.11/x86_64-linux

/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/lib/site_perl/5.17.11

/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/lib/5.17.11/x86_64-linux

/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/lib/5.17.11
    .

---
Environment for perl 5.17.11:
    HOME=/home/kent
    LANG (unset)
    LANGUAGE=
    LC_CTYPE=en_NZ.UTF8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/home/kent/perl5/perlbrew/bin:/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2:/usr/games/bin
    PERLBREW_BASHRC_VERSION=0.61
    PERLBREW_HOME=/home/kent/.perlbrew

PERLBREW_MANPATH=/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/man

PERLBREW_PATH=/home/kent/perl5/perlbrew/bin:/home/kent/perl5/perlbrew/perls/v5.17.10-54_env_warn_stringify/bin
    PERLBREW_PERL=v5.17.10-54_env_warn_stringify
    PERLBREW_ROOT=/home/kent/perl5/perlbrew
    PERLBREW_VERSION=0.61
    PERL_BADLANG (unset)
    SHELL=/bin/bash

<http://kent-fredric.fox.geek.nz>



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