| 1 | # Copyrights 1995-2024 by [Mark Overmeer <markov@cpan.org>]. | ||||||||||||
| 2 | # For other contributors see ChangeLog. | ||||||||||||
| 3 | # See the manual pages for details on the licensing terms. | ||||||||||||
| 4 | # Pod stripped from pm file by OODoc 2.03. | ||||||||||||
| 5 | # This code is part of the bundle MailTools. Meta-POD processed with | ||||||||||||
| 6 | # OODoc into POD and HTML manual-pages. See README.md for Copyright. | ||||||||||||
| 7 | # Licensed under the same terms as Perl itself. | ||||||||||||
| 8 | |||||||||||||
| 9 | package Mail::Field::Generic;{ | ||||||||||||
| 10 | 1 | our $VERSION = '2.22'; | |||||||||||
| 11 | } | ||||||||||||
| 12 | |||||||||||||
| 13 | 1 | ▶ | use base 'Mail::Field'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 14 | |||||||||||||
| 15 | 1 | ▶ | use Carp; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 16 | |||||||||||||
| 17 | |||||||||||||
| 18 | sub create | ||||||||||||
| 19 | 0 | ▶ | { my ($self, %arg) = @_; | ||||||||||
|
Subroutine
create: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 20 | 0 | $self->{Text} = delete $arg{Text}; | |||||||||||
| 21 | |||||||||||||
| 22 | 0 | ▶ | croak "Unknown options " . join(",", keys %arg) | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 23 | if %arg; | ||||||||||||
| 24 | |||||||||||||
| 25 | 0 | $self; | |||||||||||
| 26 | } | ||||||||||||
| 27 | |||||||||||||
| 28 | |||||||||||||
| 29 | sub parse | ||||||||||||
| 30 | 0 | ▶ | { my $self = shift; | ||||||||||
|
Subroutine
parse: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 31 | 0 | ▶ | $self->{Text} = shift || ""; | ||||||||||
|
Condition0%0/2
shift() || ''
MC/DC0%0/1
shift() || ''
shift()
Truth table0%0/2
A
A= shift()
| |||||||||||||
| 32 | 0 | $self; | |||||||||||
| 33 | } | ||||||||||||
| 34 | |||||||||||||
| 35 | 0 | ▶ | sub stringify { shift->{Text} } | ||||||||||
|
Subroutine
stringify: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 36 | |||||||||||||
| 37 | 1 | 1; | |||||||||||