Devel::StackTrace::Frame - A single frame in a stack trace

  1. VERSION
  2. DESCRIPTION
  3. METHODS
    1. $frame->package
    2. $frame->filename
    3. $frame->line
    4. $frame->subroutine
    5. $frame->hasargs
    6. $frame->wantarray
    7. $frame->evaltext
    8. $frame->is_require
    9. $frame->args
    10. $frame->hints
    11. $frame->bitmask
    12. $frame->as_string
  4. SUPPORT
  5. SOURCE
  6. AUTHOR
  7. COPYRIGHT AND LICENSE

VERSION

version 2.05

DESCRIPTION

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.

AUTHOR

Dave Rolsky <[email protected]>

This software is Copyright (c) 2000 - 2024 by David Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.