| 1 | package Plack::Session::Cleanup; | ||
| 2 | 17 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 17 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 17 | our $VERSION = '0.36'; | |
| 6 | 17 | our $AUTHORITY = 'cpan:STEVAN'; | |
| 7 | |||
| 8 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 9 | 0 | my $class = shift; | |
| 10 | 0 | my $subref = shift; | |
| 11 | 0 | my $self = bless $subref, $class; | |
| 12 | 0 | return $self; | |
| 13 | } | ||
| 14 | |||
| 15 | 0 | ▶ | sub DESTROY { |
|
Subroutine
DESTROY: not called CC=1 SCAR=6.9
| |||
| 16 | 0 | my $self = shift; | |
| 17 | 0 | $self->(); | |
| 18 | } | ||
| 19 | |||
| 20 | 17 | 1; | |
| 21 | |||
| 22 | __END__ | ||