SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-String-Random rpm build for : OpenSuSE. For other distributions click perl-String-Random.

Name : perl-String-Random
Version : 0.320.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.1.1 Date : 2024-07-29 21:34:52
Group : Unspecified Source RPM : perl-String-Random-0.320.0-lp156.1.1.src.rpm
Size : 0.05 MB
Packager : https://www_suse_com/
Summary : Perl module to generate random strings based on a pattern
Description :
This module makes it trivial to generate random strings.

As an example, let\'s say you are writing a script that needs to generate a
random password for a user. The relevant code might look something like
this:

use String::Random;
my $pass = String::Random->new;
print \"Your password is \", $pass->randpattern(\"CCcc!ccn\"), \"\
\";

This would output something like this:

Your password is UDwp$tj5

*NOTE!!!*: currently, \'String::Random\' defaults to Perl\'s built-in
predictable random number generator so the passwords generated by it are
insecure. See the \'rand_gen\' option to \'String::Random\' constructor to
specify a more secure random number generator. There is no equivalent to
this in the procedural interface, you must use the object-oriented
interface to get this functionality.

If you are more comfortable dealing with regular expressions, the following
code would have a similar result:

use String::Random;
my $pass = String::Random->new;
print \"Your password is \",
$pass->randregex(\'[A-Z]{2}[a-z]{2}.[a-z]{2}\\d\'), \"\
\";

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-String-Random-0.320.0-lp156.1.1.noarch.rpm
     

Provides :
perl(String::Random)
perl-String-Random

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(parent)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/String
/usr/lib/perl5/vendor_perl/5.26.1/String/Random.pm
/usr/share/doc/packages/perl-String-Random
/usr/share/doc/packages/perl-String-Random/Changes
/usr/share/doc/packages/perl-String-Random/README
/usr/share/doc/packages/perl-String-Random/README.md
/usr/share/doc/packages/perl-String-Random/TODO
/usr/share/licenses/perl-String-Random
/usr/share/licenses/perl-String-Random/LICENSE
/usr/share/man/man3/String::Random.3pm.gz

 
ICM