The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

Synopsis:

info variables lexicals

info variables lexicals -v

info variables lexicals var1 [var2...]

Lists my or lexical variables at the current frame. Use the frame changing commands like up, down or frame set the current frame.

In the first form, give a list of my or our variable names only. In the second form, list variable names and values In the third form, list variable names and values of var1, etc.

See also:

info variables my, info variables our, and frame-changing commands