Devel::StackTrace::Frame(3pm)

Devel::StackTrace::Frame3pm

A single frame in a stack trace

Version

version 2.05

Overview

See Devel::StackTrace for details.

Methods

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

$frame->package

The package which created this frame.

$frame->filename

The filename which created this frame.

$frame->line

The line where the frame was created.

$frame->subroutine

The subroutine which created this frame.

$frame->hasargs

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

$frame->wantarray

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->evaltext

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

$frame->is_require

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

$frame->args

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

$frame->hints

Returns the value of $^H for this frame.

$frame->bitmask

Returns the value of $bitmask for this frame.

$frame->as_string

Returns a string containing a description of the frame.

Support

Bugs may be submitted at <https://github.com/houseabsolute/Devel-StackTrace/issues>.

Source

The source code repository for Devel-StackTrace can be found at <https://github.com/houseabsolute/Devel-StackTrace>.

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Author

Dave Rolsky <[email protected]>

From perl-devel-stacktrace 2.05-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.