Faker::Plugin::EnUs::PersonNamePrefix - Person Name Prefix
Person Name Prefix for Faker
1.19
package main; use Faker::Plugin::EnUs::PersonNamePrefix; my $plugin = Faker::Plugin::EnUs::PersonNamePrefix->new; # bless(..., "Faker::Plugin::EnUs::PersonNamePrefix")
This package provides methods for generating fake data for person name prefix.
This package inherits behaviors from:
Faker::Plugin::EnUs
This package provides the following methods:
execute(HashRef $data) (Str)
The execute method returns a returns a random fake person name prefix.
Since 1.10
1.10
package main; use Faker::Plugin::EnUs::PersonNamePrefix; my $plugin = Faker::Plugin::EnUs::PersonNamePrefix->new; # bless(..., "Faker::Plugin::EnUs::PersonNamePrefix") # my $result = $plugin->execute; # "Mr."; # my $result = $plugin->execute; # "Mr."; # my $result = $plugin->execute; # "Sir";
new(HashRef $data) (Plugin)
The new method returns a new instance of the class.
Awncorp, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2000, Al Newkirk.
This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
To install Faker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Faker
CPAN shell
perl -MCPAN -e shell install Faker
For more information on module installation, please visit the detailed CPAN module installation guide.