GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Devel::MAT::Tool::Inrefs(3) User Contributed Perl Documentation Devel::MAT::Tool::Inrefs(3)

"Devel::MAT::Tool::Inrefs" - annotate which SVs are referred to by others

This "Devel::MAT" tool annotates each SV with back-references from other SVs that refer to it. It follows the "outrefs" method 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 "outrefs".

   @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 "outrefs_*" methods.

   pmat> inrefs defstash
   s  the hash  GLOB(%*) at 0x556e47243e40

Shows the incoming references that refer to a given SV.

Takes the following named options:

--weak
Include weak direct references in the output (by default only strong direct ones will be included).
--all
Include both weak and indirect references in the output.

Paul Evans <leonerd@leonerd.org.uk>
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.