| 1 | |||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | File::Corresponding::File::Found - A file that was found in the file | ||
| 6 | system, given a matching profile | ||
| 7 | |||
| 8 | =cut | ||
| 9 | |||
| 10 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | package File::Corresponding::File::Found; | ||
| 12 | 6 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 6 | ▶ | use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 6 | ▶ | use MooseX::Types::Path::Class qw( Dir File ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 6 | ▶ | use File::Corresponding::File::Profile; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | =head1 PROPERTIES | ||
| 22 | |||
| 23 | =head2 file : Path::Class | ||
| 24 | |||
| 25 | File that was found. | ||
| 26 | |||
| 27 | =cut | ||
| 28 | 6 | has file => ( | |
| 29 | is => 'ro', | ||
| 30 | isa => File, | ||
| 31 | coerce => 1, | ||
| 32 | ); | ||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | =head2 matching_profile : File::Corresponding::File::Profile | ||
| 38 | |||
| 39 | Profile that was used to match against. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | 6 | has matching_profile => (is => 'ro', isa => 'File::Corresponding::File::Profile'); | |
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | 6 | 1; | |
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | __END__ | ||