File Coverage

lib/MM/Const.pm
Criterion Covered Total %
statement 24 24 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 32 32 100.0


line stmt bran cond sub pod time code
1             ##----------------------------------------------------------------------------
2             ## MIME Email Builder - ~/lib/MM/Const.pm
3             ## Version v0.1.0
4             ## Copyright(c) 2026 DEGUEST Pte. Ltd.
5             ## Author: Jacques Deguest <jack@deguest.jp>
6             ## Created 2026/03/03
7             ## Modified 2026/03/03
8             ## All rights reserved.
9             ##
10             ## This program is free software; you can redistribute it and/or modify it
11             ## under the same terms as Perl itself.
12             ##----------------------------------------------------------------------------
13             package MM::Const;
14             BEGIN
15             {
16 10     10   141591 use strict;
  10         20  
  10         411  
17 10     10   49 use warnings;
  10         31  
  10         646  
18 10     10   53 use vars qw( $VERSION );
  10         39  
  10         534  
19 10     10   50 use Exporter qw( import );
  10         17  
  10         1028  
20 10     10   41 our @EXPORT_OK = qw( OVERLAP_TABLES_SET OVERLAP_TABLES_MERGE );
21 10         55 our %EXPORT_TAGS = (
22             table => [ @EXPORT_OK ],
23             );
24             # Values don't matter outside APR; they must just be stable and comparable.
25             use constant {
26 10         1124 OVERLAP_TABLES_SET => 0,
27             OVERLAP_TABLES_MERGE => 1,
28 10     10   57 };
  10         17  
29 10         267 our $VERSION = 'v0.1.0';
30             };
31              
32 10     10   49 use strict;
  10         16  
  10         266  
33 10     10   55 use warnings;
  10         15  
  10         554  
34              
35             1;
36             # NOTE: POD
37             __END__
38              
39             =encoding utf8
40              
41             =head1 NAME
42              
43             MM::Const - APR::Const-like constants for MM::Table
44              
45             =head1 SYNOPSIS
46              
47             use MM::Const qw( :table );
48             # or:
49             use MM::Const qw( OVERLAP_TABLES_SET OVERLAP_TABLES_MERGE );
50              
51             =head1 CONSTANTS
52              
53             =over 4
54              
55             =item * OVERLAP_TABLES_SET
56              
57             =item * OVERLAP_TABLES_MERGE
58              
59             =back
60              
61             =head1 AUTHOR
62              
63             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
64              
65             =head1 COPYRIGHT & LICENSE
66              
67             Copyright(c) 2026 DEGUEST Pte. Ltd.
68              
69             All rights reserved.
70              
71             This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
72              
73             =cut