| 1 | package Data::Focus::Lens; | ||||||||||
| 2 | 29 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 29 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 29 | ▶ | use overload "." => sub { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
__ANON__: called CC=2 SCAR=6.9
| |||||||||||
| 5 | 16 | my ($self, $other, $swap) = @_; | |||||||||
| 6 | 16 | require Data::Focus::Lens::Composite; | |||||||||
| 7 | 16 | ▶ | return Data::Focus::Lens::Composite->new( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 8 | $swap ? ($other, $self) : ($self, $other) | ||||||||||
| 9 | ); | ||||||||||
| 10 | 29 | }; | |||||||||
| 11 | |||||||||||
| 12 | 29 | 1; | |||||||||
| 13 | __END__ | ||||||||||