Devel::MAT::Tool::Show - show information about a given SV
Devel::MAT::Tool::Show
This Devel::MAT tool provides a command that prints interesting information from within an SV. Its exact output will depend on the type of SV it is applied to.
Devel::MAT
pmat> show 0x1bbf598 IO() at 0x1bbf598 with refcount 2 blessed as IO::File ifileno=2 ofileno=2
Prints information about the given SV.
pmat> elems endav [0] CODE(PP) at 0x562e93222dc8
Prints elements of an ARRAY SV.
Takes the following named options:
Show at most this number of elements (default 50).
Takes the following positional arguments:
Optional start index (default 0).
pmat> values defstash {"\b"} GLOB($%*) at 0x562e93114eb8 {"\017"} GLOB($*) at 0x562e9315a428 ...
Prints values of a HASH or STASH SV.
Show at most this number of values (default 50).
Optional skip count (default 0). If present, will skip over this number of keys initially to show more of them.
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.