HTML::...llback(3pm)

πŸ“¦
version 2.07000 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– HTML::FormFu::Deflator::Callback πŸ’–

okay bestie, so this is the manual page for HTML::FormFu::Deflator::Callback β€” yes the header up top got its lil name chopped down to HTML::...llback like a bad haircut, but it's the Callback deflator, periodt ✨


✨ VERSION ✨

version 2.07 πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the vibe, straight up:

$field->deflator('Callback')->callback( \&my_callback );

and if you're doing the YAML config thing (iykyk):

---
elements:
  - type: Text
    name: foo
    deflators:
      - type: Callback
        callback: "main::my_deflator"

🌸 DESCRIPTION 🌸

it's a Callback deflator. that's it, that's the description, short and iconic πŸ’…


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ callback

so the way this works is you hand it one of two things:

  • \&code-reference β€” a straight-up code reference, chef's kiss 🫢
  • "subroutine-name" β€” or just the name of the subroutine as a string, no cap

either one, it's giving arguments, and it takes them. πŸŽ€


🌈 SEE ALSO 🌈

  • this is a sub-class of, and inherits methods from HTML::FormFu::Deflator β€” so go read that one too bestie, it's where the family drama lives
  • HTML::FormFu::FormFu πŸ’–

⭐ AUTHOR ⭐

Carl Franks cfranks@cpan.org πŸ‘‘


πŸ“ LICENSE πŸ“

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. 🧚


πŸŽ€ AUTHOR (yes, again) πŸŽ€

Carl Franks <cpan@fireartist.com> β€” king said it twice, we respect it πŸ’…


This software is copyright (c) 2018 by Carl Franks. 🌸

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 anyway, that's the whole page bestie β€” no crumbs left, every flag and line accounted for 🫢

and that's a wrap on perl v5.28.1, dated 2019-01-12 β€” shoutout to the HTML::...llback(3pm) footer for keeping it real πŸ’€βœŒοΈ slay, go deflate something πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from