line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Faker::File 0.023; |
2
|
|
|
|
|
|
|
# ABSTRACT: a fake file in a fake dist |
3
|
|
|
|
|
|
|
|
4
|
8
|
|
|
8
|
|
72
|
use Moose; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
48
|
|
5
|
|
|
|
|
|
|
with 'Module::Faker::Appendix'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has filename => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has content => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub as_string { shift->content } |
11
|
|
|
|
|
|
|
|
12
|
8
|
|
|
8
|
|
53571
|
no Moose; |
|
8
|
|
|
|
|
25
|
|
|
8
|
|
|
|
|
47
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding UTF-8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Module::Faker::File - a fake file in a fake dist |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.023 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 PERL VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
32
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
33
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
34
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
37
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
38
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
39
|
|
|
|
|
|
|
the minimum required perl. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHOR |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Ricardo Signes <cpan@semiotic.systems> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This software is copyright (c) 2008 by Ricardo Signes. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
50
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |