Subject: | Error in POD of String::Util |
String::Util
In POD.
In method description section following 'randcrypt(string)', you
accidentally repeated randcrypt instead of using the correct 'randpost'
header.
This is a copy of the relevant section of the POD. I highlighted the
area with the tag [<< ERROR] below
#-----------------------------------------------------------------------
-------
# randcrypt
#
=head2 randcrypt(string)
Crypts the given string, seeding the encryption with a random
two character seed.
=cut
sub randcrypt {
my ($pw) = @_;
my ($rv);
$rv = crypt($pw, randword(2));
return $rv;
}
#
# randcrypt
#-----------------------------------------------------------------------
-------
#-----------------------------------------------------------------------
-------
# randpost
#
=head2 randcrypt(string) [<< ERROR]
Returns a string that sorta looks like one or more paragraphs.
B<option:> word_count
Sets how many words should be in the post. By default a random number
from
1 to 250 is used.
B<option:> par_odds