HTML::...mpound(3pm)
πΈ 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> π
π COPYRIGHT AND LICENSE π
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 ofperl v5.28.1and was dated2019-01-12. Go forth and join your compound fields in whatever order your heart desires. Slay. π π¦πΈ
π¦ where this page comes from
- debian bookworm: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formfu-perl 2.07000-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