HTTP::...ingText(3pm)
π NAME π
HTTP::Throwable::Role::BoringText β bestie, this role is out here providing the simplest text_body method possible. That's the whole job. Iconic. π
(fr fr, this page lives in the User Contributed Perl Documentation corner of your HTTP::Throwable::Role::BoringText(3pm) manpage, and we're about to get into it.)
β¨ VERSION β¨
version 0.028 β noted, stamped, slayed. π
π¦ OVERVIEW π¦
Okay so listen. This role is as simple as can be. Like, genuinely. It gives you exactly one (1) method and its name is text_body, and all that method does is return the result of calling the status_line method. That's it. No extra steps, no secret sauce, no side quests. It's giving minimalism. πΈ
So why does it even exist?? Because exception classes need to be able to easily be compatible with the HTTP::Throwable::Role::TextBody role, so that they can hand over a plain text body when they get converted into an HTTP message. π«Ά
And the receipts: most of the core well-known exception types consume this method. So yeah, it's small, but it's pulling its weight. Main character energy in a supporting-role costume. π
π PERL VERSION π
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years. Lowkey generous of it. β
β οΈ But here's the fine print, and we're not glossing over it: even though it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. So don't come for it. π
π AUTHORS π
The legends who made this happen:
- Stevan Little
<stevan.little@iinteractive.com>π - Ricardo Signes
<cpan@semiotic.systems>π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 by Infinity Interactive, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πΈ
And that's a wrap, bestie β this page was served up by perl v5.36.0, dated 2023-01-24, and it absolutely ate. Go forth and return your status_line. π¦β¨π
π¦ where this page comes from
- debian bookworm: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhttp-throwable-perl 0.028-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhttp-throwable-perl 0.028-1 Β· 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