Devel:...::Count(3pm)
π NAME π
Devel::MAT::Tool::Count β bestie, this one literally counts every kind of SV for u β¨
πΈ DESCRIPTION πΈ
So Devel::MAT is the whole toolkit, right? And this lil tool right here is the one that goes through the heap and counts up all the different kinds of SV chilling in there. That's it. That's the job. And it ate π
π COMMANDS π
β¨ count β¨
pmat> count
Kind Count (blessed) Bytes (blessed)
ARRAY 170 0 15.1 KiB
CODE 166 0 20.8 KiB
It prints u a lil summary of how many of each type of object there are π«Ά like a headcount but for SVs.
It takes these named options, no cap:
--blessed,-bβ also breaks down blessed references per package, so u can see who's repping which class π--scalars,-Sβ also sorts the SCALAR SVs by which fields they actually have present--structβ sums up the byte counts using the structural size--ownedβ sums up the byte counts using the owned size
π¦ AUTHOR π¦
Paul Evans <leonerd@leonerd.org.uk> π
ok that's the whole page bestie, stan a tidy manpage β¨ this one's from perl v5.42.3, dated 2026-08-21, and it lives in the User Contributed Perl Documentation β mwah, take care of her π
π
π¦ where this page comes from
- ubuntu stonking: libdevel-mat-perl 0.54-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms