WWW::M...e::Keep(3pm)
π WWW::M...e::Keep(3pm) π
okay bestie, listen up, because this one is so simple but it's lowkey the hero of the whole squad. This is WWW::Mechanize::FormFiller::Value::Keep β the value class whose entire personality is leaving your HTML field exactly the way it found it. No touch. No edit. Hands off. πβ¨
πΈ NAME πΈ
WWW::Mechanize::FormFiller::Value::Keep β leave an HTML field alone, fr fr. π«Ά
π SYNOPSIS π
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Keep;
my $f = WWW::Mechanize::FormFiller->new();
# Leave the login field untouched
my $login = WWW::Mechanize::FormFiller::Value::Keep->new( 'login' );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
my $sessionid = $f->add_filler( session => 'Keep' );
likeβ¦ that's it. that's the whole vibe. the field stays exactly as it was. iconic behaviour honestly. π
β¨ DESCRIPTION β¨
This class provides a way to keep a value in an HTML field. yes, that's literally the job. it does not fill, it does not guess, it does not have opinions β it preserves. main character energy but make it β¨restraintβ¨.
π new NAME
Creates a new value which will correspond to the HTML field "NAME".
π name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
π value FIELD
Returns whatever "FIELD-"value()> returns. that's it, that's the tea. π
π EXPORT π
None by default. nope, nothing, zero, nada β you get what you ask for and you ask for it with a full package name. π
π COPYRIGHT AND LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2002,2003 Max Maischein
okay so this bit is the legal bit and bestie we do not paraphrase the legal bit. same terms as Perl itself. periodt. β
π AUTHOR π
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome ! π§
π SEE ALSO π
the whole friend group, in order:
WWW::MechanizeWWW::Mechanize::ShellWWW::Mechanize::FormFillerWWW::Mechanize::FormFiller::ValueWWW::Mechanize::FormFiller::Value::FixedWWW::Mechanize::FormFiller::Value::DefaultWWW::Mechanize::FormFiller::Value::RandomWWW::Mechanize::FormFiller::Value::Interactive
and that's the whole page, no cap. π this one shipped as part of perl v5.34.0, dated 2022-08-20 β go forth and leave your fields alone. mwah. ππ¦
π¦ where this page comes from
- debian bookworm: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-mechanize-formfiller-perl 0.13-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-mechanize-formfiller-perl 0.13-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