| Use Case | Command | Description |
|---|---|---|
| Access package name | $frame->package |
Returns the package name of the frame |
| Access filename | $frame->filename |
Returns the filename of the frame |
| Access line number | $frame->line |
Returns the line number of the frame |
| Access subroutine name | $frame->subroutine |
Returns the subroutine name |
| Check if frame has arguments | $frame->hasargs |
Returns whether the frame has arguments |
| Get string representation | $frame->as_string |
Returns a string description of the frame |
See Perl's "caller" documentation for more information on what these methods return.
$frame->package$frame->filename$frame->line$frame->subroutine$frame->hasargs$frame->wantarray$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$frame->bitmask$frame->as_string — Returns a string containing a description of the frame.Bugs may be submitted at <https://github.com/houseabsolute/Devel-StackTrace/issues>.
I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
The source code repository for Devel-StackTrace can be found at <https://github.com/houseabsolute/Devel-StackTrace>.
Dave Rolsky <autarch AT urth.org>
This software is Copyright (c) 2000 - 2019 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.
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-14 03:44 @216.73.217.13
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)