| 1 | # Copyright © 2009 Raphaël Hertzog <hertzog@debian.org> | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | # This program is free software; you can redistribute it and/or modify | ||||||||||||||||||||
| 4 | # it under the terms of the GNU General Public License as published by | ||||||||||||||||||||
| 5 | # the Free Software Foundation; either version 2 of the License, or | ||||||||||||||||||||
| 6 | # (at your option) any later version. | ||||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | # This program is distributed in the hope that it will be useful, | ||||||||||||||||||||
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||||||||||||||||
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||||||||||||||||||
| 11 | # GNU General Public License for more details. | ||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | # You should have received a copy of the GNU General Public License | ||||||||||||||||||||
| 14 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||||||||||||||||
| 15 | |||||||||||||||||||||
| 16 | =encoding utf8 | ||||||||||||||||||||
| 17 | |||||||||||||||||||||
| 18 | =head1 NAME | ||||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | Dpkg::Control::Changelog - represent info fields output by dpkg-parsechangelog | ||||||||||||||||||||
| 21 | |||||||||||||||||||||
| 22 | =head1 DESCRIPTION | ||||||||||||||||||||
| 23 | |||||||||||||||||||||
| 24 | This class derives directly from L<Dpkg::Control> with the type | ||||||||||||||||||||
| 25 | CTRL_CHANGELOG. | ||||||||||||||||||||
| 26 | |||||||||||||||||||||
| 27 | =cut | ||||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | package Dpkg::Control::Changelog 1.00; | ||||||||||||||||||||
| 30 | |||||||||||||||||||||
| 31 | 2 | ▶ | use v5.36; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 32 | |||||||||||||||||||||
| 33 | 2 | ▶ | use Dpkg::Control; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 34 | |||||||||||||||||||||
| 35 | 2 | ▶ | use parent qw(Dpkg::Control); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 36 | |||||||||||||||||||||
| 37 | =head1 METHODS | ||||||||||||||||||||
| 38 | |||||||||||||||||||||
| 39 | =over 4 | ||||||||||||||||||||
| 40 | |||||||||||||||||||||
| 41 | =item $c = Dpkg::Control::Changelog->new() | ||||||||||||||||||||
| 42 | |||||||||||||||||||||
| 43 | Create a new empty set of changelog related fields. | ||||||||||||||||||||
| 44 | |||||||||||||||||||||
| 45 | =cut | ||||||||||||||||||||
| 46 | |||||||||||||||||||||
| 47 | 750 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.4
Pod
documented
| |||||||||||||||||||||
| 48 | 750 | my ($this, @args) = @_; | |||||||||||||||||||
| 49 | 750 | ▶ | my $class = ref($this) || $this; | ||||||||||||||||||
|
Condition33%1/3
ref $this || $this
MC/DC0%0/2
ref $this || $this
ref $this
$this
Truth table33%1/3
A || B
A= ref $thisB= $this
| |||||||||||||||||||||
| 50 | 750 | my $self = Dpkg::Control->new(type => CTRL_CHANGELOG, @args); | |||||||||||||||||||
| 51 | 750 | return bless $self, $class; | |||||||||||||||||||
| 52 | } | ||||||||||||||||||||
| 53 | |||||||||||||||||||||
| 54 | =back | ||||||||||||||||||||
| 55 | |||||||||||||||||||||
| 56 | =head1 CHANGES | ||||||||||||||||||||
| 57 | |||||||||||||||||||||
| 58 | =head2 Version 1.00 (dpkg 1.15.6) | ||||||||||||||||||||
| 59 | |||||||||||||||||||||
| 60 | Mark the module as public. | ||||||||||||||||||||
| 61 | |||||||||||||||||||||
| 62 | =cut | ||||||||||||||||||||
| 63 | |||||||||||||||||||||
| 64 | 2 | 1; | |||||||||||||||||||