table of contents
Devel::MAT::Tool::Show(3pm) | User Contributed Perl Documentation | Devel::MAT::Tool::Show(3pm) |
NAME¶
"Devel::MAT::Tool::Show" - show information about a given SV
DESCRIPTION¶
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.
COMMANDS¶
show¶
pmat> show 0x1bbf598 IO() at 0x1bbf598 with refcount 2 blessed as IO::File ifileno=2 ofileno=2
Prints information about the given SV.
elems¶
pmat> elems endav [0] CODE(PP) at 0x562e93222dc8
Prints elements of an ARRAY SV.
Takes the following named options:
- --count, -c MAX
- Show at most this number of elements (default 50).
Takes the following positional arguments:
- •
- Optional start index (default 0).
values¶
pmat> values defstash {"\b"} GLOB($%*) at 0x562e93114eb8 {"\017"} GLOB($*) at 0x562e9315a428 ...
Prints values of a HASH or STASH SV.
Takes the following named options:
- --count, -c MAX
- Show at most this number of values (default 50).
Takes the following positional arguments:
- •
- Optional skip count (default 0). If present, will skip over this number of keys initially to show more of them.
AUTHOR¶
Paul Evans <leonerd@leonerd.org.uk>
2023-03-26 | perl v5.36.0 |