27 Mar 2021 15:12:58 UTC
- Distribution: Devel-MAT
- Module version: 0.44
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (8)
- Testers (103 / 9 / 1)
- KwaliteeBus factor: 1
- 59.23% Coverage
- License: perl_5
- Perl: v5.14.0
- Activity24 month
- Download (128.33KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SV METHODS
Devel::MAT::Tool::Inrefs- annotate which SVs are referred to by others
Devel::MATtool annotates each SV with back-references from other SVs that refer to it. It follows the
outrefsmethod of every heap SV and annotates the referred SVs with back-references pointing back to the SVs that refer to them.
This tool adds the following SV methods.
@refs = $sv->inrefs
Returns a list of Reference objects for each of the SVs that refer to this one. This is formed by the inverse mapping along the SV graph from
@refs = $sv->inrefs_strong @refs = $sv->inrefs_weak @refs = $sv->inrefs_direct @refs = $sv->inrefs_indirect @refs = $sv->inrefs_inferred
Returns lists of Reference objects filtered by type, analogous to the various
pmat> inrefs defstash s the hash GLOB(%*) at 0x556e47243e40
Shows the incoming references that refer to a given SV.
Takes the following named options:
Include weak direct references in the output (by default only strong direct ones will be included).
Include both weak and indirect references in the output.
Paul Evans <firstname.lastname@example.org>