| 1 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package Email::Abstract::EmailMIME; | ||
| 4 | # ABSTRACT: Email::Abstract wrapper for Email::MIME | ||
| 5 | 3 | $Email::Abstract::EmailMIME::VERSION = '3.010'; | |
| 6 | 3 | ▶ | use Email::Abstract::EmailSimple; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 3 | ▶ | BEGIN { @Email::Abstract::EmailMIME::ISA = 'Email::Abstract::EmailSimple' }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 3 | ▶ | sub target { "Email::MIME" } |
|
Subroutine
target: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | |||
| 11 | 0 | ▶ | sub construct { |
|
Subroutine
construct: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 12 | 0 | require Email::MIME; | |
| 13 | 0 | my ($class, $rfc822) = @_; | |
| 14 | 0 | Email::MIME->new($rfc822); | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub get_body { |
|
Subroutine
get_body: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my ($class, $obj) = @_; | |
| 19 | |||
| 20 | # Return the same thing you'd get from Email::Simple. | ||
| 21 | # | ||
| 22 | # Ugh. -- rjbs, 2014-12-27 | ||
| 23 | 0 | return $obj->body_raw; | |
| 24 | } | ||
| 25 | |||
| 26 | 3 | 1; | |
| 27 | |||
| 28 | #pod =head1 DESCRIPTION | ||
| 29 | #pod | ||
| 30 | #pod This module wraps the Email::MIME mail handling library with an | ||
| 31 | #pod abstract interface, to be used with L<Email::Abstract> | ||
| 32 | #pod | ||
| 33 | #pod =head1 SEE ALSO | ||
| 34 | #pod | ||
| 35 | #pod L<Email::Abstract>, L<Email::MIME>. | ||
| 36 | #pod | ||
| 37 | #pod =cut | ||
| 38 | |||
| 39 | __END__ | ||