.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DhMakePerl 3pm" .TH DhMakePerl 3pm 2024-03-14 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME DhMakePerl \- create Debian source package from CPAN dist .SH VERSION .IX Header "VERSION" Version 0.90 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use DhMakePerl; \& \& DhMakePerl\->run; .Ve .SH ACCESSORS .IX Header "ACCESSORS" .IP apt_contents 4 .IX Item "apt_contents" Stores the cached copy of Debian::AptContents. .IP cfg 4 .IX Item "cfg" Stores the configuration, an instance of DhMakePerl::Config .SH "CLASS METHODS" .IX Header "CLASS METHODS" .ie n .IP "run( \fR\fI%init\fR\fI\fR )" 4 .el .IP "run( \fR\f(CI%init\fR\fI\fR )" 4 .IX Item "run( %init )" Runs DhMakePerl. .Sp Unless the \f(CW%init\fR contains an \fIcfg\fR member, constructs and instance of DhMakePerl::Config and assigns it to \fR\f(CI$init\fR\fI{cfg}\fR. .Sp Then determines the dh-make-perl command requested (via cfg\->command), loads the appropriate \fIDhMakePerl::Command::$command\fR class, constructs an instance of it and calls its \fIexecute\fR method. .IP get_apt_contents 4 .IX Item "get_apt_contents" Returns (possibly cached) instance of Debian::AptContents. .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" .IP "Copyright (C) 2009, 2010 Damyan Ivanov " 4 .IX Item "Copyright (C) 2009, 2010 Damyan Ivanov " .PP This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. .PP This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA.