![]() |
![]()
| ![]() |
![]()
NAMEWWW::Mechanize::FormFiller::Value::Random::Date - Fill a timestamp into an HTML form field SYNOPSISuse WWW::Mechanize::FormFiller; use WWW::Mechanize::FormFiller::Value::Random::Date; my $f = WWW::Mechanize::FormFiller->new(); # Create a random value for the HTML field "born" my $born = WWW::Mechanize::FormFiller::Value::Random::Date->new( born => string => '%Y%m%d', min => '20000101', max => '20373112' ); $f->add_value( born => $born ); # 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 $last_here = $f->add_filler( last_here => Random::Date => string => '%H%M%S', min => '000000', max => 'now'); DESCRIPTIONThis class provides a way to write a randomly chosen value into a HTML field.
EXPORTNone by default. COPYRIGHT AND LICENSEThis 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 AUTHORMax Maischein, <corion@cpan.org> Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome ! SEE ALSOData::Random, WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value, WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Fixed, WWW::Mechanize::FormFiller::Value::Interactive
|