Devel:...bility(3pm)

πŸ’– Devel::MAT::Tool::Reachability πŸ’–

okay bestie, so this is Devel::MAT::Tool::Reachability β€” a tool from the Devel::MAT family, hanging out in the User Contributed Perl Documentation section of the 3pm man pages. it's here to answer the big question: is this SV even reachable tho πŸ‘‘


✨ NAME ✨

Devel::MAT::Tool::Reachability β€” analyse how SVs are reachable πŸ¦‹


🌸 DESCRIPTION 🌸

no cap, this Devel::MAT tool figures out which SVs you can actually get to via any known root β€” and which ones are just out there floating, unreachable, living their little orphan arc 😭. reachable? not reachable? it's giving detective energy fr fr.

and for the SVs that are reachable, it sorts them into a few broad categories, so you know exactly what kind of reachable they are πŸ’…:

  • SVs that directly make up the symbol table πŸŽ€
  • SVs that form the padlist of functions, or that store the names of lexical variables πŸ“›
  • SVs that hold the value of lexical variables πŸ’œ
  • user data stored in package globals, lexical variables, or referenced recursively via structures stored in them πŸŒ€
  • miscellaneous other SVs that get used to implement the internals of the interpreter 🧚

πŸ‘‘ SV METHODS πŸ‘‘

this tool adds the following SV methods, slay.

⭐ reachable

$r = $sv->reachable;

returns true if the SV is reachable from a known root. that's it, that's the whole vibe check βœ…. true = it's in the tree, false = it's giving lost in the void πŸ’€.


🌈 AUTHOR 🌈

Paul Evans <leonerd@leonerd.org.uk> 🫢


that's the whole page bestie, go forth and trace your roots 🌱

this was served up by perl v5.42.3, dated 2026-08-21, and yes the manual name really is squeezed down to Devel:...bility(3pm) like that πŸ™ˆ β€” iconic of it honestly. byeee πŸ’–βœ¨

πŸ“¦ where this page comes from