Devel::MAT::Context - represent a single call context state
Devel::MAT::Context
Objects in this class represent a single level of state from the call context. These contexts represent function calls between perl functions.
Returns the gimme value of the call context.
Returns the file, line or location as (FILE line LINE).
FILE line LINE
Represents a context which is a subroutine call.
Returns the CV which this call is to.
Returns the arguments AV which represents the @_ argument array.
@_
Returns the old depth of the context (that is, the depth the CV would be at after this context returns).
Returns the actual depth of the context. This is inferred at load time by considering the olddepth of the next inner-nested call to the same CV, or from the actual depth of the CV is no other call exists.
olddepth
depth
Represents a context which is a block eval {} call.
eval {}
Represents a context which is a string eval EXPR call.
eval EXPR
Returns the SV containing the text string being evaluated.
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.