| 1 | package Module::Faker::File 0.027; | ||
| 2 | # ABSTRACT: a fake file in a fake dist | ||
| 3 | |||
| 4 | 8 | ▶ | use v5.20.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 8 | with 'Module::Faker::Appendix'; | |
| 7 | |||
| 8 | 8 | has filename => (is => 'ro', isa => 'Str', required => 1); | |
| 9 | 8 | has content => (is => 'ro', isa => 'Str', required => 1); | |
| 10 | |||
| 11 | 107 | ▶ | sub as_string { shift->content } |
|
Subroutine
as_string: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 8 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 8 | 1; | |
| 15 | |||
| 16 | __END__ | ||