| 1 | package Pod::Elemental::Flat 0.103006; | ||
| 2 | # ABSTRACT: a content-only pod paragraph | ||
| 3 | |||
| 4 | 15 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 15 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #pod =head1 OVERVIEW | ||
| 9 | #pod | ||
| 10 | #pod Pod::Elemental::Flat is a role that is included to indicate that a class | ||
| 11 | #pod represents a Pod paragraph that will have no children, and represents only its | ||
| 12 | #pod own content. Generally it is used for text paragraphs. | ||
| 13 | #pod | ||
| 14 | #pod =cut | ||
| 15 | |||
| 16 | 15 | with 'Pod::Elemental::Paragraph'; | |
| 17 | 15 | excludes 'Pod::Elemental::Node'; | |
| 18 | |||
| 19 | 0 | ▶ | sub as_debug_string { |
|
Subroutine
as_debug_string: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | my ($self) = @_; | |
| 21 | |||
| 22 | 0 | my $moniker = ref $self; | |
| 23 | 0 | $moniker =~ s/\APod::Elemental::Element:://; | |
| 24 | |||
| 25 | 0 | my $summary = $self->_summarize_string($self->content); | |
| 26 | |||
| 27 | 0 | return "$moniker <$summary>"; | |
| 28 | } | ||
| 29 | |||
| 30 | 15 | 1; | |
| 31 | |||
| 32 | __END__ | ||