| 1 | package POE::Component::DirWatch::New; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use POE; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 2 | our $VERSION = "0.300004"; | |||||||||
| 7 | |||||||||||
| 8 | 2 | extends 'POE::Component::DirWatch'; | |||||||||
| 9 | 2 | with 'POE::Component::DirWatch::Role::Signatures'; | |||||||||
| 10 | |||||||||||
| 11 | #--------#---------#---------#---------#---------#---------#---------#--------- | ||||||||||
| 12 | |||||||||||
| 13 | 4 | ▶ | around _file_callback => sub { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=6.9
| |||||||||||
| 14 | 4 | my $orig = shift; | |||||||||
| 15 | 4 | my ($self, $file) = @_[OBJECT, ARG0]; | |||||||||
| 16 | 4 | ▶ | return if exists $self->signatures->{"$file"}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 2 | $orig->(@_); | |||||||||
| 18 | 2 | }; | |||||||||
| 19 | |||||||||||
| 20 | 2 | __PACKAGE__->meta->make_immutable; | |||||||||
| 21 | |||||||||||
| 22 | 2 | 1; | |||||||||
| 23 | |||||||||||
| 24 | __END__; | ||||||||||