Faker::Plugin::EnUs::AddressCountryName - Address Country Name
Address Country Name for Faker
1.19
package main; use Faker::Plugin::EnUs::AddressCountryName; my $plugin = Faker::Plugin::EnUs::AddressCountryName->new; # bless(..., "Faker::Plugin::EnUs::AddressCountryName")
This package provides methods for generating fake data for address country 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 country name.
Since 1.10
1.10
package main; use Faker::Plugin::EnUs::AddressCountryName; my $plugin = Faker::Plugin::EnUs::AddressCountryName->new; # bless(..., "Faker::Plugin::EnUs::AddressCountryName") # my $result = opluginresult->execute; # "Greenland" # my $result = opluginresult->execute; # "Ireland" # my $result = opluginresult->execute; # "Svalbard & Jan Mayen Islands"
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.