CGI::A...ibutes(3pm)

πŸ“¦
version 0.99 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– CGI::A...ibutes(3pm) πŸ’–

okay bestie, welcome to the manual page for CGI::A...ibutes(3pm) β€” the one that lives in User Contributed Perl Documentation. it's a little short, it's a little mysterious, but it's iconic and we're gonna read it together 🫢


✨ NAME ✨

CGI::Application::Plugin::ActionDispatch::Attributes β€” Hidden attribute support for CGI::Application πŸ’…

like. attributes. but hidden. the stealth mode of attributes. no cap.


✨ SYNOPSIS ✨

here's the vibe, verbatim, don't touch a character πŸ”₯

  use CGI::Application::Plugin::ActionDispatch::Attributes;

  sub CGI::Application::Protected : ATTR {
        my( $package, $referent, $attr, $data ) = @_;
        ...
  }
  CGI::Application::Plugin::ActionDispatch::Attributes::init();

  sub my_method Protected {
        ...
  }

okay so like, you pull the module in, you define CGI::Application::Protected with the : ATTR attribute, and it gets handed $package, $referent, $attr, and $data β€” those four, in that order, fr fr 🌸. then you call init() on the full package name (yes, the whole long one, no shortcuts). and then boom, my_method can wear Protected like it's a lil accessory. periodt πŸ’…


✨ DESCRIPTION ✨

so what does this actually do? This module will add attribute support into CGI::Application. that's the whole gig. attributes, in your CGI::Application, slay πŸ’–

and also β€” and this is the part we love β€” It will also not break mod_perl. not breaking mod_perl is genuinely main character energy, because mod_perl is fragile and dramatic and we respect that about it πŸ¦‹

T

okay so that lone T at the end of the DESCRIPTION? that's literally just sitting there in the original. no context, no explanation, just vibes. it's giving typo, it's giving mystery, it's giving iykyk. we're keeping it because every single detail stays, bestie. T. πŸŽ€

✨ SEE ALSO ✨

nothing here. empty. a gorgeous, minimalist void 🌈

like the original genuinely lists no cross-references, so i'm not gonna invent any β€” that would be lying and lying is not cute πŸ™ˆ. the SEE ALSO heading exists and that's all it's giving. iconically empty. we move πŸ’€


✨ AUTHOR ✨

Jason Yates, <jaywhy@gmail.com> β€” thank you for your service, king πŸ‘‘πŸ’œ


Copyright (C) 2006-2008 by Jason Yates

and the legal bit, which is important so i'm keeping every word:

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

free software, same terms as Perl, Perl 5.8.8 or literally any newer Perl 5 you happen to have. pick your fighter. the choice is yours and that's so valid 🌸✨


and that's the whole page, bestie!! this one came from perl v5.34.0, dated 2022-06-09, and it was an absolute delight to read with you πŸ’– stay hydrated, read your manpages, and remember: attributes are just accessories for your subroutines πŸ’…πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from