PerMsgHandler/Control.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PerMsgHandler.pm ↑ Summary PerMsgHandler/Message.pm »
1 package Net::POP3::PerMsgHandler::Control;
2  
3 =head1 NAME
4  
5 Net::POP3::PerMsgHandler::Control - object for per_message callback
6  
7 =head1 VERSION
8  
9 Version 0.01
10  
11 =cut
12  
13 2 our $VERSION = '0.01';
14  
15 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 2 ▶use base qw(Class::Accessor::Fast);
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 2 __PACKAGE__->mk_accessors(
21 qw/
22 delete
23 quit
24 /
25 );
26  
27 =head1 FUNCTIONS
28  
29 =head2 delete
30  
31 This is mutator. If true, delete message after callback. The default is false.
32  
33 =head2 quit
34  
35 This is mutator. If true, disconnect from server after callback. The default is false.
36  
37 =head1 SEE ALSO
38  
39 L<Net::POP3::PerMsgHandler>, L<Net::POP3>, L<Email::MIME>, L<Email::MIME::Attachment::Stripper>, L<Mail::Message>, L<Mail::Message::Attachment::Stripper>
40  
41 =head1 AUTHOR
42  
43 bokutin, C<< <bokutin at cpan.org> >>
44  
45 =head1 COPYRIGHT & LICENSE
46  
47 Copyright 2007 bokutin, all rights reserved.
48  
49 This program is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51  
52 =cut
53  
54 2 1;
« PerMsgHandler.pm ↑ Summary PerMsgHandler/Message.pm »