Devel::...::Frame(3)

okay bestie, welcome to the Devel::...::Frame(3) page β€” filed under User Contributed Perl Documentation, with the manual name folded in right here instead of copying the header line πŸ’…. The module is Devel::StackTrace::Frame, and it's literally one single frame in a stack trace ✨

πŸŽ€ NAME πŸŽ€

Devel::StackTrace::Frame β€” a single frame in a stack trace. That's the name, that's the vibe, periodt πŸ‘‘.

🌈 VERSION 🌈

version 2.05 πŸ’– β€” yes bestie, that's the version, no cap.

🧚 DESCRIPTION 🧚

See Devel::StackTrace for details 🫢. That's the whole description; go check that module for the full lore.

✨ METHODS ✨

See Perl's caller documentation for more information on what these methods return πŸ¦‹. The methods are giving deep caller energy, iykyk.

πŸ’– $frame->package πŸ’–

The package which created this frame. It's the package's main character moment πŸ’….

πŸŽ€ $frame->filename πŸŽ€

The filename which created this frame. The file said β€œI made this frame” and honestly? Slay πŸ“.

⭐ $frame->line ⭐

The line where the frame was created. Literally the exact line, bestie πŸ”₯.

πŸ¦‹ $frame->subroutine πŸ¦‹

The subroutine which created this frame. Subroutine behavior, iconic πŸ’œ.

🫢 $frame->hasargs 🫢

This will be true if a new @_ was created for this frame. So yes, it's giving β€œfresh args” energy when true ✨.

🌸 $frame->wantarray 🌸

This indicates the context for the call for this frame. It will be true if called in array context, false in scalar context, and undef in void context. Context check, but make it cute πŸŽ€.

πŸ™ˆ $frame->evaltext πŸ™ˆ

Returns undef if the frame was not part of an eval β€” that's the whole tea πŸ«–.

πŸ“ $frame->is_require πŸ“

Returns undef if the frame was not part of a require. Same energy, different keyword ✨.

πŸ’… $frame->args πŸ’…

Returns the arguments passed to the frame. Note that any arguments that are references are returned as references, not copies β€” no sneaky clone action, bestie 🫢.

πŸ”₯ $frame->hints πŸ”₯

Returns the value of $^H for this frame. Hint hint, it's a value πŸ”.

🌈 $frame->bitmask 🌈

Returns the value of $bitmask for this frame. Bitmask said hi πŸ’œ.

πŸ‘‘ $frame->as_string πŸ‘‘

Returns a string containing a description of the frame. Stringified frame lore, periodt πŸŽ€.

🫢 SUPPORT 🫢

Bugs may be submitted at https://github.com/houseabsolute/Devel-StackTrace/issues πŸ›. Report the bug, bestie β€” don't let it live rent-free in your terminal πŸ’….

πŸ“¦ SOURCE πŸ“¦

The source code repository for Devel-StackTrace can be found at https://github.com/houseabsolute/Devel-StackTrace πŸ“. Go look, it's iconic.

πŸ‘‘ AUTHOR πŸ‘‘

Dave Rolsky <autarch@urth.org> β€” yes, that's the author, and that's the email, exactly 🌟.

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. Legally iconic, bestie πŸŽ€.


okay that's the page, bestie πŸ’–. Cute sign-off from the Devel::...::Frame(3) manual page: perl v5.42.0, dated 2024-03-08. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from