Skip Menu |

This queue is for tickets about the Devel-Peek CPAN distribution.

Report information
The Basics
Id: 56286
Status: open
Priority: 0/
Queue: Devel-Peek

People
Owner: Nobody in particular
Requestors: kjetil.skotheim [...] usit.uio.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Small error in POD
The POD has a small error, marked using <--- below, in one of the examples: use Devel::Peek 'Dump'; $a = [42,24]; Dump $a; The output: SV = RV(0xf041c) REFCNT = 1 FLAGS = (ROK) RV = 0xb2850 SV = PVAV(0xbd448) REFCNT = 1 FLAGS = () IV = 0 NV = 0 ARRAY = 0xb2048 ALLOC = 0xb2048 FILL = 0 <--- should be FILL = 1 MAX = 0 ARYLEN = 0x0 FLAGS = (REAL) Elt No. 0 0xb5658 SV = IV(0xbe860) REFCNT = 1 FLAGS = (IOK,pIOK) IV = 42 Elt No. 1 0xb5680 SV = IV(0xbe818) REFCNT = 1 FLAGS = (IOK,pIOK) IV = 24
CC: Mailing list Perl5 <perl5-porters [...] perl.org>
Subject: Re: [rt.cpan.org #56286] Small error in POD
Date: Sun, 4 Apr 2010 18:46:25 -0700
To: Kjetil Skotheim via RT <bug-Devel-Peek [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sun, Apr 04, 2010 at 07:18:34PM -0400, Kjetil Skotheim via RT wrote: Show quoted text
> Sun Apr 04 19:18:33 2010: Request 56286 was acted upon. > Transaction: Ticket created by KJETIL > Queue: Devel-Peek
Devel-Peek is owned by perl5-porters now; Show quoted text
> The output: > SV = RV(0xf041c) > REFCNT = 1 > FLAGS = (ROK) > RV = 0xb2850 > SV = PVAV(0xbd448) > REFCNT = 1 > FLAGS = () > IV = 0 > NV = 0 > ARRAY = 0xb2048 > ALLOC = 0xb2048 > FILL = 0 <--- should be FILL = 1 > MAX = 0 > ARYLEN = 0x0 > FLAGS = (REAL) > Elt No. 0 0xb5658 > SV = IV(0xbe860) > REFCNT = 1 > FLAGS = (IOK,pIOK) > IV = 42 > Elt No. 1 0xb5680 > SV = IV(0xbe818) > REFCNT = 1 > FLAGS = (IOK,pIOK) > IV = 24
Then MAX should be corrected as well... Thanks for pointing this, but it should go to p5p (Cc'ed), Ilya
CC: Kjetil Skotheim via RT <bug-Devel-Peek [...] rt.cpan.org>, Mailing list Perl5 <perl5-porters [...] perl.org>
Subject: Re: [rt.cpan.org #56286] Small error in POD
Date: Wed, 5 Jan 2011 19:09:44 +0000
To: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
From: Dave Mitchell <davem [...] iabyn.com>
On Sun, Apr 04, 2010 at 06:46:25PM -0700, Ilya Zakharevich wrote: Show quoted text
> On Sun, Apr 04, 2010 at 07:18:34PM -0400, Kjetil Skotheim via RT wrote:
> > Sun Apr 04 19:18:33 2010: Request 56286 was acted upon. > > Transaction: Ticket created by KJETIL > > Queue: Devel-Peek
> > Devel-Peek is owned by perl5-porters now; >
> > The output: > > SV = RV(0xf041c) > > REFCNT = 1 > > FLAGS = (ROK) > > RV = 0xb2850 > > SV = PVAV(0xbd448) > > REFCNT = 1 > > FLAGS = () > > IV = 0 > > NV = 0 > > ARRAY = 0xb2048 > > ALLOC = 0xb2048 > > FILL = 0 <--- should be FILL = 1 > > MAX = 0 > > ARYLEN = 0x0 > > FLAGS = (REAL) > > Elt No. 0 0xb5658 > > SV = IV(0xbe860) > > REFCNT = 1 > > FLAGS = (IOK,pIOK) > > IV = 42 > > Elt No. 1 0xb5680 > > SV = IV(0xbe818) > > REFCNT = 1 > > FLAGS = (IOK,pIOK) > > IV = 24
> > Then MAX should be corrected as well... > > Thanks for pointing this, but it should go to p5p (Cc'ed),
Now fixed (and generally cleaned up in blead with the following commit: commit f64eb7e3f1535117ee91c13174660a9b6eef681b Author: David Mitchell <davem@iabyn.com> AuthorDate: Wed Jan 5 18:39:30 2011 +0000 Commit: David Mitchell <davem@iabyn.com> CommitDate: Wed Jan 5 19:07:32 2011 +0000 Devel-Peek/Peek.pm: update example outputs in pod Quite a lot has changed since those examples were written: the RV body type no longer exists, the indentation is different, the address of the SV as well as its body is now displayed, and various fields are no longer displayed by default. Also, as per https://rt.cpan.org/Public/Bug/Display.html?id=56286, the 2-element array example had the wrong FILL/MAX. -- I don't want to achieve immortality through my work... I want to achieve it through not dying. -- Woody Allen