Devel::StackTrace::Frame(3) User Contributed Perl Documentation Devel::StackTrace::Frame(3)

# [DESCRIPTION](#DESCRIPTION)

See Devel::StackTrace for details.

# [METHODS](#METHODS)

See Perl's "caller" documentation for more information on what these methods return.

## [$frame-&gt;package](#$frame)

The package which created this frame.

## [$frame-&gt;filename](#$frame~2)

The filename which created this frame.

## [$frame-&gt;line](#$frame~3)

The line where the frame was created.

## [$frame-&gt;subroutine](#$frame~4)

The subroutine which created this frame.

## [$frame-&gt;hasargs](#$frame~5)

This will be true if a new @_ was created for this this frame.

## [$frame-&gt;wantarray](#$frame~6)

This indicates the context for the call for this frame. This will be true if called in array context, false in scalar context, and "undef" in void context.

## [$frame-&gt;evaltext](#$frame~7)

Returns undef if the frame was not part of an eval.

## [$frame-&gt;is\_require](#$frame~8)

Returns undef if the frame was not part of a require.

## [$frame-&gt;args](#$frame~9)

Returns the arguments passed to the frame. Note that any arguments that are references are returned as references, not copies.

## [$frame-&gt;hints](#$frame~10)

Returns the value of $^H for this frame.

## [$frame-&gt;bitmask](#$frame~11)

Returns the value of $bitmask for this frame.

## [$frame-&gt;as\_string](#$frame~12)

Returns a string containing a description of the frame.

2026-07-17 perl v5.44.0

---

Document: Devel::StackTrace::Frame(3pm) from perl-devel-stacktrace 2.05-r10 (Chainguard OS)
Source: https://github.com/houseabsolute/Devel-StackTrace
