logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

Dave Rolsky <autarch@urth.org>

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.

Name

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

Source

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

Support

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

Version

version 2.05

See Also