| 1 | package Data::Focus::Applicative::Const; | ||
| 2 | 25 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 25 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 25 | ▶ | use parent qw(Data::Focus::Applicative); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2831 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 7 | 2831 | my ($class, $datum) = @_; | |
| 8 | 2831 | return bless \$datum, $class; | |
| 9 | } | ||
| 10 | |||
| 11 | 3487 | ▶ | sub get_const { |
|
Subroutine
get_const: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | 3487 | return ${$_[0]}; | |
| 13 | } | ||
| 14 | |||
| 15 | 25 | 1; | |
| 16 | __END__ | ||