line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Faker::Plugin::EsEs::AddressPostalCode; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
22514
|
use 5.018; |
|
3
|
|
|
|
|
13
|
|
4
|
|
|
|
|
|
|
|
5
|
3
|
|
|
3
|
|
35
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
66
|
|
6
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
83
|
|
7
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
19
|
use Venus::Class 'base'; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
23
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
base 'Faker::Plugin::EsEs'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $VERSION = '1.17'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# METHODS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub execute { |
19
|
9
|
|
|
9
|
1
|
1163
|
my ($self, $data) = @_; |
20
|
|
|
|
|
|
|
|
21
|
9
|
|
|
|
|
56
|
return $self->process_markers('#####', 'numbers'); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Faker::Plugin::EsEs::AddressPostalCode - Address Postal Code |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 ABSTRACT |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Address Postal Code for Faker |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1.17 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=cut |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SYNOPSIS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
package main; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
use Faker::Plugin::EsEs::AddressPostalCode; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::EsEs::AddressPostalCode->new; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::EsEs::AddressPostalCode") |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 DESCRIPTION |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This package provides methods for generating fake data for address postal code. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=encoding utf8 |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 INHERITS |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This package inherits behaviors from: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 METHODS |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This package provides the following methods: |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 execute |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
execute(HashRef $data) (Str) |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
The execute method returns a returns a random fake address postal code. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
I> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=over 4 |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item execute example 1 |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
package main; |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
use Faker::Plugin::EsEs::AddressPostalCode; |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::EsEs::AddressPostalCode->new; |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::EsEs::AddressPostalCode") |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
# '31408'; |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
# '46845'; |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
# my $result = $plugin->execute; |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# '07694'; |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=back |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 new |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
new(HashRef $data) (Plugin) |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
The new method returns a new instance of the class. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
I> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=over 4 |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=item new example 1 |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
package main; |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
use Faker::Plugin::EsEs::AddressPostalCode; |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
my $plugin = Faker::Plugin::EsEs::AddressPostalCode->new; |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
# bless(..., "Faker::Plugin::EsEs::AddressPostalCode") |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=back |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |