Devel::...::AsHTML(3)

πŸ’– Devel::...::AsHTML(3) πŸ’–

okay bestie, you found the Devel::...::AsHTML(3) page in the User Contributed Perl Documentation. the module it's about is Devel::StackTrace::AsHTML, and it's here to make your stack traces look so good. πŸ’…

✨ NAME ✨

Devel::StackTrace::AsHTML β€” Displays stack trace in HTML. that's the whole vibe: stack trace, but make it HTML. πŸ¦‹

🌸 SYNOPSIS 🌸

use Devel::StackTrace::AsHTML;

my $trace = Devel::StackTrace->new;
my $html  = $trace->as_html;

πŸŽ€ DESCRIPTION πŸŽ€

okay so Devel::StackTrace::AsHTML adds the as_html method to Devel::StackTrace, and that method displays the stack trace in beautiful HTML, with code snippet context and function parameters. it's giving β€œdebugging but make it aesthetic.” 😭✨

and if you call it on an instance of Devel::StackTrace::WithLexicals, you even get to see the lexical variables of each stack frame. yes bestie, the lexicals are right there. πŸ‘‘

πŸ’œ AUTHOR πŸ’œ

  • Tatsuhiko Miyagawa β€” <miyagawa@bulknews.net>
  • Shawn M Moore

the HTML generation code is literally ripped off from CGI::ExceptionManager, written by Tokuhiro Matsuno and Kazuho Oku. shoutout to them fr fr. 🫢

bestie, this applies to the whole distribution, okay? The following copyright notice applies to all the files provided in this distribution, including binary files, unless explicitly noted otherwise.

Copyright 2009-2013 Tatsuhiko Miyagawa

🌈 LICENSE 🌈

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. πŸ’–

⭐ SEE ALSO ⭐

  • Devel::StackTrace
  • Devel::StackTrace::WithLexicals
  • CGI::ExceptionManager

mwah πŸ’‹ β€” this page is from perl v5.42.0, dated 2016-04-04, and it's the Devel::...::AsHTML(3) manual page. byeee 🫢✨

πŸ“¦ where this page comes from