Skip Menu |

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

Report information
The Basics
Id: 49437
Status: resolved
Priority: 0/
Queue: Devel-Size

People
Owner: Nobody in particular
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

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



Subject: Devel::Size adds magic in Perl 5.10
size and total_size add magic to arrays in Perl 5.10. This messes up the results. Tested 0.71 on linux with 5.8.8 (no magic) Tested 0.70 on Windows with 5.8.8 (no magic) Tested 0.71 on Windows with 5.10.0 (magic) Tested 0.71 on Windows with 5.10.1 (magic) It appears to be related to the magic added by using $#a.
Subject: test.out
Download test.out
application/octet-stream 636b

Message body not shown because it is not plain text.

Subject: test.pl
use Devel::Size qw( total_size ); use Devel::Peek qw( Dump ); my @arr; Dump \@arr; print total_size(\@arr), "\n"; Dump \@arr;
Subsequently discussed on PerlMonks: http://www.perlmonks.org/?node_id=793532 AvARYLEN is the culprit. Can it be avoided?
Subject: Re: [rt.cpan.org #49437] Devel::Size adds magic in Perl 5.10
Date: Sun, 6 Sep 2009 23:42:38 +0200
To: bug-Devel-Size [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
On Friday 04 September 2009 22:53:23 ikegami via RT wrote: Show quoted text
> Queue: Devel-Size > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49437 > > > Subsequently discussed on PerlMonks: > http://www.perlmonks.org/?node_id=793532 > > AvARYLEN is the culprit. Can it be avoided?
Sorry, I do no longer have time to work on Devel::Size. All the best, Tels -- Signed on Sun Sep 6 23:42:21 2009 with key 0x93B84C15. Get one of my photo posters: http://bloodgate.com/posters PGP key on http://bloodgate.com/tels.asc or per email. "Not King yet."
Download signature.asc
application/pgp-signature 481b

Message body not shown because it is not plain text.

On Fri Sep 04 16:53:22 2009, ikegami wrote: Show quoted text
> Subsequently discussed on PerlMonks: > http://www.perlmonks.org/?node_id=793532 > > AvARYLEN is the culprit. Can it be avoided?
Yes. (And avoiding it the right fix for another problem too) Fixed in the developer release 0.72_50, now uploaded to CPAN. Once I've flushed out any issues revealed by the CPAN smokers, I intend to upload a 0.73 release. Nicholas Clark