WWW::M...m::Word(3pm)
β¨ WWW::Mechanize::FormFiller::Value::Random::Word π
okay bestie, welcome to the User Contributed Perl Documentation corner of the internet, where this little page β WWW::M...m::Word(3pm), aka the manual page for WWW::Mechanize::FormFiller::Value::Random::Word β lives. it's giving "tiny module, huge main character energy". let's go π¦
πΈ NAME πΈ
WWW::Mechanize::FormFiller::Value::Random::Word β drop a random word into an HTML form field. that's it. that's the whole job. and she does it flawlessly, no cap π
β¨ SYNOPSIS β¨
use WWW::Mechanize::FormFiller;
use WWW::Mechanize::FormFiller::Value::Random::Word;
my $f = WWW::Mechanize::FormFiller->new();
# Create a random value for the HTML field "login"
my $login = WWW::Mechanize::FormFiller::Value::Random::Word->new( login => size => 1 );
$f->add_value( login => $login );
# Alternatively take the following shorthand, which adds the
# field to the list as well :
# If there is no password, put a random one out of the list there
my $password = $f->add_filler( password => Random::Word => size => 1 );
# Spew some bogus text into the comments field
my $comments = $f->add_filler( comments => Random::Word => size => 10 );
like, look at her. three lines and you're already filling forms with nonsense words. iconic behavior π
π DESCRIPTION π
This class provides a way to write a randomly chosen value into a HTML field. fr fr, that's the vibe β you point it at a field, it points a random word at the field. π
π«Ά new NAME, LIST
Creates a new value which will correspond to the HTML field "NAME". The "LIST" is the list of arguments passed to Data::Random::rand_words. If the list is empty, size => 1 is assumed.
so if you're like "bestie I have no opinions today", she just goes size => 1 for you. considerate queen. π
π name [NEWNAME]
Gets and sets the name of the HTML field this value corresponds to.
π¦ value FIELD
Returns the value to put into the HTML field.
π EXPORT π
None by default.
nothing gets yeeted into your namespace unless you ask. respectful. we love a boundary-having module. π
π 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
π AUTHOR π
Max Maischein, <corion@cpan.org>
Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome !
not me begging for test coverage, this is so real π go submit a bug report bestie, he literally asked π
π SEE ALSO π
Data::RandomWWW::MechanizeWWW::Mechanize::ShellWWW::Mechanize::FormFillerWWW::Mechanize::FormFiller::Value::ValueWWW::Mechanize::FormFiller::Value::DefaultWWW::Mechanize::FormFiller::Value::FixedWWW::Mechanize::FormFiller::Value::Interactive
okay that's the whole page, you ate it, you understood it, and now you can go fill forms like the icon you are π§π
sign-off time: this page came to you courtesy of perl v5.34.0, dated 2022-08-20, and the manual page name WWW::M...m::Word(3pm) β say it with me, slay. β
π¦ 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