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, return only a variable from the scratchpad at that depth. A find by position returns the variable at a particular position in the scratchpad.

Arguments: P, S or P, I, S or P, I, I

See also: store_lex

Get Perl 6 and Parrot Essentials, Second 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.