Skip Menu |

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

Report information
The Basics
Id: 124834
Status: resolved
Priority: 0/
Queue: Devel-MAT

People
Owner: Nobody in particular
Requestors: HVDS [...] cpan.org
Cc: hv [...] pirum.com
AdminCc:

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



Subject: fatal error in pmat> largest -struct
I got this: Show quoted text
pmat> largest -struct
Can't locate object method "padnames" via package "Devel::MAT::SV::CODE" at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 133. Hacking in a stacktrace showing "$cv" gives: Devel::MAT::SV::CODE=HASH(0x1cb07b8) at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 133. Devel::MAT::SV::CODE::structure_set(Devel::MAT::SV::CODE=HASH(0x1cb07b8)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 142 Devel::MAT::SV::structure_size(Devel::MAT::SV::CODE=HASH(0x1cb07b8)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool/Sizes.pm line 355 Devel::MAT::Tool::Sizes::_largest::run(Devel::MAT::Tool::Sizes::_largest=HASH(0x3404d08), HASH(0x11b7848)) called at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Devel/MAT/Tool.pm line 145 Devel::MAT::Tool::run_cmd(Devel::MAT::Tool::Sizes::_largest=HASH(0x3404d08), "-struct") called at /usr/local/bin/pmat line 114 eval {...} called at /usr/local/bin/pmat line 108 Without looking too deeply, I suspect maybe it was supposed to be either padname() or padnames_av(). This is Devel-MAT-0.33 with (system) perl-5.20.2 on debian jessie. Hugo
Ahyes. I'd already fixed that in code but hadn't released it yet awaiting some other changes and fixes; but I'll do that now. -- Paul Evans
Fixed by 0.34 -- Paul Evans