Devel::MAT::Tool::Count - count the various kinds of SV
Devel::MAT::Tool::Count
This Devel::MAT tool counts the different kinds of SV in the heap.
Devel::MAT
pmat> count Kind Count (blessed) Bytes (blessed) ARRAY 170 0 15.1 KiB CODE 166 0 20.8 KiB
Prints a summary of the count of each type of object.
Takes the following named options:
Additionally classify blessed references per package
Additionally classify SCALAR SVs according to which fields they have present
Use the structural size to sum byte counts
Use the owned size to sum byte counts
Paul Evans <leonerd@leonerd.org.uk>
To install Devel::MAT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::MAT
CPAN shell
perl -MCPAN -e shell install Devel::MAT
For more information on module installation, please visit the detailed CPAN module installation guide.