NAME

Faker::Plugin::AddressCityName

ABSTRACT

Address City Name Plugin for Faker

SYNOPSIS

package main;

use Faker;
use Faker::Plugin::AddressCityName;

my $f = Faker->new;
my $p = Faker::Plugin::AddressCityName->new(faker => $f);

my $plugin = $p;

DESCRIPTION

This package provides methods for generating fake address city name data.

INHERITS

This package inherits behaviors from:

Data::Object::Plugin

LIBRARIES

This package uses type constraints from:

Types::Standard

ATTRIBUTES

This package has the following attributes:

faker

faker(ConsumerOf["Faker::Maker"])

This attribute is read-only, accepts (ConsumerOf["Faker::Maker"]) values, and is required.

METHODS

This package implements the following methods:

execute

execute() : Str

The execute method returns a random fake address city name.

execute example #1
# given: synopsis

$p->execute;

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".

ACKNOWLEDGEMENTS

Parts of this library were inspired by the following implementations:

PHP Faker

Ruby Faker

Python Faker

JS Faker

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues