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