« blib/lib/Ftree/TextGenerators/RussianTextGenerator.pm
↑ Summary
blib/lib/Ftree/Exporters/Serializer.pm »
| 1 | package Ftree::Cemetery; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 2 | ▶ | use version; our $VERSION = qv('2.3.41'); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 2 | ▶ | use Ftree::Place; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 2 | ▶ | use Params::Validate qw(:all); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 2 | ▶ | use base 'Ftree::Place'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 13 | 0 | my $type = shift; | |||||||||
| 14 | 0 | my $self = $type->SUPER::new(@_); | |||||||||
| 15 | 0 | $self->{cemetery} = $_[2]; | |||||||||
| 16 | 0 | return $self; | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 0 | ▶ | sub toString { | ||||||||
|
Subroutine
toString: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 20 | 0 | my ( $self) = validate_pos(@_, {type => HASHREF}); | |||||||||
| 21 | 0 | my $string = $self->SUPER::toString(); | |||||||||
| 22 | 0 | ▶ | return defined $self->{cemetery} ? "$string, $self->{cemetery}" : $string; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | } | ||||||||||
| 24 | |||||||||||
| 25 | 2 | 1; | |||||||||