HTTP::...hParams(3pm)

πŸ’– HTTP::Headers::ActionPack::Core::BaseHeaderWithParams πŸ’–

okay so bestie, this is a page from the User Contributed Perl Documentation and it's literally all about HTTP::Headers::ActionPack::Core::BaseHeaderWithParams β€” the base header type that comes with params. yes, that one. πŸ’…


✨ NAME ✨

HTTP::Headers::ActionPack::Core::BaseHeaderWithParams β€” a base header type with parameters. periodt.


🌸 VERSION 🌸

version 0.09 πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

use HTTP::Headers::ActionPack::Core::BaseHeaderWithParams;

that's it. that's the whole vibe. ✨


πŸ’œ DESCRIPTION πŸ’œ

So here's the tea: this is a base class for header values that carry a parameter list with them. That's its whole job, and it eats every single time. πŸ‘‘

But ngl, there are no real user serviceable parts in here. Like, you're not supposed to be poking around in it directly β€” it's the scaffolding the other stuff stands on. It's giving behind-the-scenes main character energy. 🫢


πŸ’… METHODS πŸ’…

  • params β€” the accessor for the unordered hash-ref of parameters. unordered, bestie, so don't come for it expecting an order. it's doing its best. πŸ™ˆ
  • add_param( $key, $value ) β€” adds in a parameter, and it gets placed at the very end of the parameter order. yes, very very end. last in line. the caboose. πŸš‚
  • remove_param( $key ) β€” removes a parameter from the link. bye babe, you will not be missed. πŸ’€
  • params_are_empty β€” returns false if there are no parameters on the invocant. (yes, that's what it says. i'm just the messenger, i don't make the rules. 😭)

πŸ‘‘ AUTHOR πŸ‘‘

Stevan Little <stevan.little@iinteractive.com> β€” the icon, the legend, the moment. 🌟


🌈 CONTRIBUTORS 🌈

shoutout to the whole squad, couldn't have done it without y'all:

  • Andrew Nelson <anelson@cpan.org>
  • Dave Rolsky <autarch@urth.org>
  • Florian Ragwitz <rafl@debian.org>
  • Jesse Luehrs <doy@tozt.net>
  • Karen Etheridge <ether@cpan.org>

This software is copyright (c) 2012 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. so like, go off, remix it, do your thing. slay. πŸ’–


and that's the whole page bestie, no cap. πŸ¦‹

made with perl v5.34.0 and dated 2022-06-14 β€” stay iconic, HTTP::...hParams(3pm) out. πŸ’…βœ¨

πŸ“¦ where this page comes from