NAME
Faker::Plugin::EsEs::AddressNumber - Address Number
ABSTRACT
Address Number for Faker
VERSION
1.16
SYNOPSIS
package main;
use Faker::Plugin::EsEs::AddressNumber;
my $plugin = Faker::Plugin::EsEs::AddressNumber->new;
# bless(..., "Faker::Plugin::EsEs::AddressNumber")
DESCRIPTION
This package provides methods for generating fake data for address number.
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 address number.
Since 1.10
- execute example 1
-
package main; use Faker::Plugin::EsEs::AddressNumber; my $plugin = Faker::Plugin::EsEs::AddressNumber->new; # bless(..., "Faker::Plugin::EsEs::AddressNumber") # my $result = $plugin->execute; # '14'; # my $result = $plugin->execute; # '4'; # my $result = $plugin->execute; # '8';
new
new(HashRef $data) (Plugin)
The new method returns a new instance of the class.
Since 1.10