NAME
Faker::Plugin::UserPassword - User Password
ABSTRACT
User Password for Faker
VERSION
1.16
SYNOPSIS
package main;
use Faker::Plugin::UserPassword;
my $plugin = Faker::Plugin::UserPassword->new;
# bless(..., "Faker::Plugin::UserPassword")
DESCRIPTION
This package provides methods for generating fake data for user password.
INHERITS
This package inherits behaviors from:
METHODS
This package provides the following methods:
execute
execute(HashRef $data) (Str)
The execute method returns a returns a random fake user password.
Since 1.10
- execute example 1
-
package main; use Faker::Plugin::UserPassword; my $plugin = Faker::Plugin::UserPassword->new; # bless(..., "Faker::Plugin::UserPassword") # my $result = $plugin->execute; # "48R+a}[Lb?&0725"; # my $result = $plugin->execute; # ",0w\$h4155>*0M"; # my $result = $plugin->execute; # ")P2^'q695a}8GX";
new
new(HashRef $data) (Plugin)
The new method returns a new instance of the class.
Since 1.10