| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
908
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
39
|
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
66
|
|
|
3
|
|
|
|
|
|
|
package Email::Folder::IMAPS; |
|
4
|
|
|
|
|
|
|
# ABSTRACT: Email::Folder Access to IMAP over SSL Folders |
|
5
|
|
|
|
|
|
|
$Email::Folder::IMAPS::VERSION = '1.105'; |
|
6
|
1
|
|
|
1
|
|
941
|
use Email::Folder::IMAP 1.102 (); # _imap_class; |
|
|
1
|
|
|
|
|
63234
|
|
|
|
1
|
|
|
|
|
30
|
|
|
7
|
1
|
|
|
1
|
|
11
|
use parent qw[Email::Folder::IMAP]; # Argh, no version specifier! |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
7
|
|
|
8
|
1
|
|
|
1
|
|
980
|
use Net::IMAP::Simple::SSL 1.3; # :port |
|
|
1
|
|
|
|
|
85957
|
|
|
|
1
|
|
|
|
|
105
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
|
|
sub _imap_class { 'Net::IMAP::Simple::SSL' } |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
#pod =head1 SYNOPSIS |
|
15
|
|
|
|
|
|
|
#pod |
|
16
|
|
|
|
|
|
|
#pod use Email::Folder; |
|
17
|
|
|
|
|
|
|
#pod use Email::FolderType::Net; |
|
18
|
|
|
|
|
|
|
#pod |
|
19
|
|
|
|
|
|
|
#pod my $folder = Email::Folder->new('imaps://example.com'); # read INBOX |
|
20
|
|
|
|
|
|
|
#pod |
|
21
|
|
|
|
|
|
|
#pod print $_->header('Subject') for $folder->messages; |
|
22
|
|
|
|
|
|
|
#pod |
|
23
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
|
24
|
|
|
|
|
|
|
#pod |
|
25
|
|
|
|
|
|
|
#pod This software adds IMAPS functionality to L. |
|
26
|
|
|
|
|
|
|
#pod Its interface is identical to the other |
|
27
|
|
|
|
|
|
|
#pod L subclasses. |
|
28
|
|
|
|
|
|
|
#pod |
|
29
|
|
|
|
|
|
|
#pod =head2 Parameters |
|
30
|
|
|
|
|
|
|
#pod |
|
31
|
|
|
|
|
|
|
#pod C and C parameters may be sent to C. If |
|
32
|
|
|
|
|
|
|
#pod used, they override any user info passed in the connection URI. |
|
33
|
|
|
|
|
|
|
#pod |
|
34
|
|
|
|
|
|
|
#pod =head2 Folder Specification |
|
35
|
|
|
|
|
|
|
#pod |
|
36
|
|
|
|
|
|
|
#pod Folders are specified using a simplified form of the IMAP URL Scheme |
|
37
|
|
|
|
|
|
|
#pod detailed in RFC 2192. Not all of that specification applies. Here |
|
38
|
|
|
|
|
|
|
#pod are a few examples. |
|
39
|
|
|
|
|
|
|
#pod |
|
40
|
|
|
|
|
|
|
#pod Selecting the INBOX. |
|
41
|
|
|
|
|
|
|
#pod |
|
42
|
|
|
|
|
|
|
#pod imaps://foo.com |
|
43
|
|
|
|
|
|
|
#pod |
|
44
|
|
|
|
|
|
|
#pod Selecting the INBOX using URI based authentication. Remember that the |
|
45
|
|
|
|
|
|
|
#pod C and C parameters passed to C will override |
|
46
|
|
|
|
|
|
|
#pod anything set in the URI. |
|
47
|
|
|
|
|
|
|
#pod |
|
48
|
|
|
|
|
|
|
#pod imaps://user:pass@foo.com |
|
49
|
|
|
|
|
|
|
#pod |
|
50
|
|
|
|
|
|
|
#pod Selecting the p5p list. |
|
51
|
|
|
|
|
|
|
#pod |
|
52
|
|
|
|
|
|
|
#pod imaps://foo.com/perl/perl5-porters |
|
53
|
|
|
|
|
|
|
#pod |
|
54
|
|
|
|
|
|
|
#pod =head1 SEE ALSO |
|
55
|
|
|
|
|
|
|
#pod |
|
56
|
|
|
|
|
|
|
#pod L, |
|
57
|
|
|
|
|
|
|
#pod L, |
|
58
|
|
|
|
|
|
|
#pod L, |
|
59
|
|
|
|
|
|
|
#pod L, |
|
60
|
|
|
|
|
|
|
#pod L, |
|
61
|
|
|
|
|
|
|
#pod L. |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
__END__ |