HTML::...mpound(3pm)

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

🌸 NAME 🌸

Okay so bestie, this page is all about HTML::FormFu::Role::Filter::Compound β€” it's the Role for Compound filters. Yes, a role. For filters. That are compound. Iconic behaviour honestly. πŸ’…

(Quick heads up: the header and footer of this page squish the name down to HTML::...mpound(3pm) because the terminal is dramatic and ran out of room. Same page, same vibes. 🫢)


✨ VERSION ✨

version 2.07 β€” that's the one, no cap. ⭐


πŸ’… METHODS πŸ’…

field_order

Arguments: \@order πŸ‘‘

So here's the tea, bestie: if you want the submitted parts to be joined in an order that's different from the order the fields are actually in, you gotta hand over an arrayref. That arrayref holds the names, listed in the exact order they should be joined. That's it. That's the whole job. πŸŽ€

Check it out:

---
element:
  - type: Multi
    name: address

    elements:
      - name: street
      - name: number

    filter:
      - type: CompoundJoin
        field_order:
          - number
          - street

See how number shows up before street in the field_order? That's the whole point β€” the fields say street then number, but the joining says number then street. Main character energy. ✨


🫢 AUTHOR 🫢

Carl Franks, "cfranks@cpan.org" β€” say thank you to Carl, fr fr. πŸ’–


πŸ“œ LICENSE πŸ“œ

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Free is free bestie, go wild (responsibly). 🌈


🫢 AUTHOR 🫢

(Yes, again β€” the page really does list him twice, and honestly? Deserved.)

Carl Franks <cpan@fireartist.com> πŸ’œ


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. Periodt. πŸ”₯


And that's a wrap, bestie! This page came to you courtesy of perl v5.28.1 and was dated 2019-01-12. Go forth and join your compound fields in whatever order your heart desires. Slay. πŸ’…πŸ¦‹πŸŒΈ
πŸ“¦ where this page comes from