Name
pos
Synopsis
$h
->pos([$element
])
Sets or retrieves the current position in the
syntax tree of the current object. The returned value is a
reference to the element object that holds the current position.
The “position” object is an element contained within the tree
that has the current object ($
h
) at its
root.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.