Debian Codegraph @

tests/dist/DC-Test-Dist/lib/DC/Test/Dist/M1.pm

raw
1 # Copyright 2012-2026, Paul Johnson ([email protected])
2
3 # This software is free. It is licensed under the same terms as Perl itself.
4
5 # The latest version of this software should be available from my homepage:
6 # https://pjcj.net
7
8 package DC::Test::Dist::M1;
9
10 use strict;
11 use warnings;
12
13 # VERSION
14
15 sub new {
16 bless {}, shift
17 }
18
19 sub m1 {
20 my $self = shift;
21 if (@_) {
22 $self->{m1} = shift;
23 }
24 $self->{m1}
25 }
26
27 sub m2 {
28 my $self = shift;
29 if (@_) {
30 $self->{m2} = shift;
31 }
32 $self->{m2}
33 }
34
35 1
36
37 __END__
38
39 =head1 NAME
40
41 DC::Test::Dist::M1 - Devel::Cover distribution test submodule
42
43 =head1 SYNOPSIS
44
45 This module is only used as a Devel::Cover test of a complete distribution.
46
47 =head1 DESCRIPTION
48
49 None.
50
51 =head1 LICENCE
52
53 Copyright 2012-2026, Paul Johnson ([email protected])
54
55 This software is free. It is licensed under the same terms as Perl itself.
56
57 The latest version of this software should be available from my homepage:
58 https://pjcj.net
59
60 =cut