Faker::Plugin::EnUs::AddressRegionName - Address Region Name
Address Region Name for Faker
1.19
package main; use Faker::Plugin::EnUs::AddressRegionName; my $plugin = Faker::Plugin::EnUs::AddressRegionName->new; # bless(..., "Faker::Plugin::EnUs::AddressRegionName")
This package provides methods for generating fake data for address region name.
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 address region name.
Since 1.10
1.10
package main; use Faker::Plugin::EnUs::AddressRegionName; my $plugin = Faker::Plugin::EnUs::AddressRegionName->new; # bless(..., "Faker::Plugin::EnUs::AddressRegionName") # my $result = $plugin->execute; # "Massachusetts"; # my $result = $plugin->execute; # "MO"; # my $result = $plugin->execute; # "NE";
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.