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
( $kinds, $blessed ) = $count->count_svs( $df )
Counts the different kinds of SV in the heap of the given Devel::MAT::Dumpfile and returns two HASH references containing totals. The first counts every SV, split by type. The second counts those SVs that are blessed into some package; that is, SVs that are objects.
pmat> count Kind Count (blessed) ARRAY 134 CODE 133
Prints a summary of the count of each type of object.
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.