FromForm(3pm)
π FromForm(3pm) β aka Class::DBI::FromForm π
okay bestie, welcome to the page for Class::DBI::FromForm, which is the one that lets you update your Class::DBI data using Data::FormValidator or HTML Widget. yes, it's giving "forms but make it database." it's giving main character energy for form handling. let's go π¦
β¨ SYNOPSIS β¨
package Film;
use Class::DBI::FromForm;
use base 'Class::DBI';
my $results = Data::FormValidator->check( ... );
my $film = Film->retrieve('Fahrenheit 911');
$film->update_from_form($results);
my $new_film = Film->create_from_form($results);
like, literally that's it. retrieve your thing, update it from the form, or make a whole new one from the form. slay π
πΈ DESCRIPTION πΈ
Create and update Class::DBI objects from Data::FormValidator or HTML::Widget.
that's the whole vibe. objects go in, objects come out, forms are involved. obsessed π
π§ METHODS π§
create_from_form
Create a new object. new baby object, freshly born, straight from the form π£
update_from_form
Update object. glow-up time, bestie β¨
π«Ά fill_widget <widget>
This only applies to HTML::Widget>. Fills the form from a CDBI object.
lowkey note: yes, that > is in the original, no I'm not touching it, it's part of the lore π
π SEE ALSO π
Class::DBIClass::DBI::FromCGIData::FormValidator
go read those too, they're all in the same friend group π«Ά
π AUTHOR π
Sebastian Riedel, "sri@oook.de"
π LICENSE π
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
and that's the whole page, bestie! this was FromForm(3pm), shipped with perl v5.32.0, dated 2021-01-05. periodt. π πβ¨
π¦ where this page comes from
- debian bookworm: libclass-dbi-fromform-perl 0.04-3.1
- debian trixie: libclass-dbi-fromform-perl 0.04-3.1
- ubuntu jammy: libclass-dbi-fromform-perl 0.04-3.1
- ubuntu noble: libclass-dbi-fromform-perl 0.04-3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms