Name

find_lex

Synopsis

find_lex DEST, NAME
find_lex DEST, DEPTH, NAME
find_lex DEST, DEPTH, POSITION
               

Return the lexical variable of the given name from a lexical scratchpad. If DEPTH is provided, only return a variable from the scratchpad at that depth. A find by position returns the variable at a particular position in the scratchpad.

See also store_lex.

Get Perl 6 Essentials 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.