Skip Menu |

This queue is for tickets about the WWW-Mechanize-FormFiller CPAN distribution.

Report information
The Basics
Id: 2728
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-FormFiller

People
Owner: corion [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Random::Chars docs inaccurate
I liked how in the Random::Chars document, testing code is embedded to test the example in the code. Seems like a good idea to keep the examples accurate. The POD was slighly inaccurate, though. It appears to be due from a copy/paste from the Random::Word module. The attached patch will fix it.
From: mark [...] summersault.com
patch attached.
--- Chars.pm.orig Mon Jun 2 12:41:41 2003 +++ Chars.pm Mon Jun 2 12:42:26 2003 @@ -69,8 +69,8 @@ =item new NAME, LIST Creates a new value which will correspond to the HTML field C<NAME>. The C<LIST> -is the list of arguments passed to Data::Random::rand_words. If the list is -empty, C<< size => 1 >> is assumed. +is the list of arguments passed to Data::Random::rand_chars. If the list is +empty, C<< set => 'alpha', min => 5, max => 8 >> is assumed. =item name [NEWNAME]