CGI::A...gScreen(3pm)
π CGI::Application::Plugin::DebugScreen(3pm) π
okay bestie, so this is a page from the User Contributed Perl Documentation β the manual name is CGI::Application::Plugin::DebugScreen(3pm) and yes the header truncates it to CGI::A...gScreen(3pm) because apparently man pages also have a character limit, tragic, but we move. π
β¨ NAME β¨
CGI::Application::Plugin::DebugScreen β it adds Debug support to CGI::Application.
periodt, that's the whole name section, let's go π¦
πΈ VERSION πΈ
This documentation refers to CGI::Application::Plugin::DebugScreen version 1.00. π
π SYNOPSIS π
look at how tiny this is, the way that it's literally one line:
use CGI::Application::Plugin::DebugScreen;
That is it! The fun starts when a run mode calls die. πβ¨
π¦ DESCRIPTION π¦
So this plug-in adds stack tracing support to CGI::Application, similar in style to the Catalyst debug mode. In the event of the module calling die, a stack trace of the error is displayed. And at each level of the stack, links to the code and documentation are provided. iconic behaviour, honestly. π
The stack trace functionality is deactivated unless the $ENV{CGI_APP_DEBUG} environment variable is set. Which is lowkey the best part: when your code is released, this plug-in does not need to be removed. no cleanup era required, we love a plug-in that knows when to be quiet. π
The links links to code and documentation are implemented using CGI::Application::Plugin::ViewCode, which will be loaded automatically if available. However β and hear me out β these links are not supported in conjunction with CGI::Application::Dispatch. π
(yes the original says "links links", we're keeping it, it's part of the lore π«Ά)
π DEPENDENCIES π
bestie these are the situationships this module needs to function:
strictwarningsCGI::ApplicationHTML::TemplateDevel::StackTraceIO::FileCGI::Application::Plugin::ViewCodeUNIVERSAL::require
π BUGS AND LIMITATIONS π
There are no known bugs in this module. β¨
Please report problems to Atsushi Kobayashi (<nekokak@cpan.org>). Patches are welcome! π«Ά
π SEE ALSO π
go read these too, iykyk:
CGI::Application::Plugin::ViewCodeSledge::Plugin::DebugScreenCGI::Carp::DebugScreenCatalyst::Plugin::StackTrace
πΈ Thanks To πΈ
shoutout to the girlies and guys, no cap, genuinely obsessed with them:
- MATSUNO Tokuhiro (MATSUNO)
- Koichi Taniguchi (TANIGUCHI)
- Masahiro Nagano (KAZEBURO)
- Tomoyuki Misonou
π AUTHOR π
Atsushi Kobayashi, <nekokak@cpan.org>
π COPYRIGHT AND LICENSE π
Copyright (C) 2006 by Atsushi Kobayashi (<nekokak@cpan.org>). All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
okay and that's the whole page bestie, thanks for reading, ily, go set $ENV{CGI_APP_DEBUG} and watch your stack trace slay π
β¨
this was perl v5.30.3 on 2020-09-24 β mwah, bye! π¦ππ
π¦ where this page comes from
- debian bookworm: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcgi-application-plugin-debugscreen-perl 1.00-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms