| 1 | package Farly::Builder; | ||
| 2 | |||
| 3 | 9 | ▶ | use 5.008008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 9 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 9 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 9 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 9 | ▶ | use Log::Any qw($log); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 9 | our $VERSION = '0.26'; | |
| 10 | |||
| 11 | 7 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | 7 | my $class = shift; | |
| 13 | |||
| 14 | 7 | my $self = { | |
| 15 | FILE => undef, | ||
| 16 | CONTAINER => undef, | ||
| 17 | }; | ||
| 18 | 7 | bless( $self, $class ); | |
| 19 | |||
| 20 | 7 | $log->info("$self NEW"); | |
| 21 | |||
| 22 | 7 | return $self; | |
| 23 | } | ||
| 24 | |||
| 25 | 5 | ▶ | sub set_file { |
|
Subroutine
set_file: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 26 | 5 | my ( $self, $file ) = @_; | |
| 27 | |||
| 28 | 5 | $self->{FILE} = $file; | |
| 29 | |||
| 30 | 5 | $log->info( "$self SET FILE TO " . $self->{FILE} ); | |
| 31 | } | ||
| 32 | |||
| 33 | 5 | ▶ | sub file { |
|
Subroutine
file: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 34 | 5 | return $_[0]->{FILE}; | |
| 35 | } | ||
| 36 | |||
| 37 | 9 | 1; | |
| 38 | __END__ | ||