| 1 | package Pod::Elemental::Autoblank 0.103006; | ||
| 2 | # ABSTRACT: a paragraph that always displays an extra blank line in Pod form | ||
| 3 | |||
| 4 | 13 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 13 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | #pod =head1 OVERVIEW | ||
| 8 | #pod | ||
| 9 | #pod This role exists primarily to simplify elements produced by the Pod5 | ||
| 10 | #pod transformer. Any element with this role composed into it will append an extra | ||
| 11 | #pod newline to the normally generated response to the C<as_pod_string> method. | ||
| 12 | #pod | ||
| 13 | #pod That's it! | ||
| 14 | #pod | ||
| 15 | #pod =cut | ||
| 16 | |||
| 17 | 41 | ▶ | around as_pod_string => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 18 | 41 | my ($orig, $self, @arg) = @_; | |
| 19 | 41 | my $str = $self->$orig(@arg); | |
| 20 | 41 | "$str\n\n"; | |
| 21 | 13 | }; | |
| 22 | |||
| 23 | 13 | 1; | |
| 24 | |||
| 25 | __END__ | ||