CLI/IMAP.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« CLI.pm ↑ Summary CLI/IMAPS.pm »
1 package IO::Socket::CLI::IMAP;
2  
3 =head1 NAME
4  
5 IO::Socket::CLI::IMAP - Command-line interface to an IMAP server.
6  
7 =head1 VERSION
8  
9 Version 0.04
10  
11 =head1 SYNOPSIS
12  
13 use IO::Socket::CLI::IMAP;
14 my $imap = IO::Socket::CLI::IMAP->new(HOST => '::1');
15 $imap->read();
16 do {
17 $imap->prompt();
18 $imap->read();
19 } while ($imap->is_open());
20  
21 =head1 DESCRIPTION
22  
23 C<IO::Socket::CLI::IMAP> provides a command-line interface to
24 L<IO::Socket::INET6> and L<IO::Socket::SSL>.
25  
26 =for comment
27 =head1 EXPORT
28 None by default.
29  
30 =cut
31  
32 =head1 METHODS
33  
34 See C<IO::Socket::CLI>.
35  
36 =cut
37  
38 1 ▶use IO::Socket::CLI;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 @ISA = ("IO::Socket::CLI");
40  
41 1 $IO::Socket::CLI::PORT = '143';
42 1 $IO::Socket::CLI::BYE = qr'^\* BYE( |\r?$)'; # string received when an IMAP server disconnects
43  
44 =head1 BUGS
45  
46 Does not verify SSL connections. Has not been tried with STARTTLS.
47  
48 =head1 SUPPORT
49  
50 =over 2
51  
52 =item * CPAN Bug Tracker
53  
54 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Socket-CLI>
55  
56 =item * Code, Pull Requests, alternative Issues Tracker
57  
58 L<https://gitable.org/ashley/IO-Socket-CLI.git>
59  
60 =back
61  
62 =head1 COPYRIGHT AND LICENSE
63  
64 Copyright (C) 2012 by Ashley Willis E<lt>ashleyw@cpan.orgE<gt>
65  
66 This library is free software; you can redistribute it and/or modify
67 it under the same terms as Perl itself, either Perl version 5.12.4 or,
68 at your option, any later version of Perl 5 you may have available.
69  
70 =head1 SEE ALSO
71  
72 L<IO::Socket::CLI>, L<IO::Socket::INET6>, L<IO::Socket::INET>,
73 L<IO::Socket::SSL>, L<IO::Socket>
74  
75 =cut
76  
77 1 1;
« CLI.pm ↑ Summary CLI/IMAPS.pm »