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