From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

Synopsis:

up [count]

Move the current frame up to a caller in the stack trace (an older frame). 0 is the most recent frame. If no count is given, move up 1. This is same as down, but moving in the opposite direction.

Examples:

up # Set current frame to the caller of this current one
up 1 # Same as above
up -1 # Same as down

See also:

down, frame, and backtrace