Devel::StackTrace::Frame - A single frame in a stack trace
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]>
COPYRIGHT AND LICENSE
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.