.\" -*- 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 "Debian::WNPP::Bug 3pm" .TH Debian::WNPP::Bug 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 Debian::WNPP::Bug \- handy representation of Debian WNPP bug reports .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 9 \& my $b = Debian::WNPP::Bug\->new( \& { number => 1234, \& title => \*(AqRFP: nice\-package \-\- do nice things easier\*(Aq, \& type => \*(Aqrfp\*(Aq, \& package => \*(Aqnice\-package\*(Aq, \& short_description => \*(Aqdo nice things together\*(Aq, \& submitter => "Joe Developer " \& } \& ); \& \& print "$b"; # 1234 .Ve .SH CONSTRUCTOR .IX Header "CONSTRUCTOR" .IP new 4 .IX Item "new" Constructs new instance of the class. Initial values are to be given as a hash reference. .SH FIELDS .IX Header "FIELDS" .IP number 4 .IX Item "number" The unique ID of the big in the BTS. .IP title 4 .IX Item "title" The title of the bug. Usually something like .Sp .Vb 1 \& RFP: nice\-package \-\- do nice things easier .Ve .IP type 4 .IX Item "type" The type of the WNPP bug. Either of: .RS 4 .IP RFP 4 .IX Item "RFP" request for package .IP ITP 4 .IX Item "ITP" intent to package .IP O 4 .IX Item "O" orphaned package .IP RFH 4 .IX Item "RFH" request for help .IP RFA 4 .IX Item "RFA" request for adoption .IP ITA 4 .IX Item "ITA" intent to adopt .RE .RS 4 .RE .IP package 4 .IX Item "package" Package name .IP short_description 4 .IX Item "short_description" The short description of the package .IP submitter 4 .IX Item "submitter" The bug submitter in the form \f(CW\*(C`Full Name \*(C'\fR .SH OVERLOADS .IX Header "OVERLOADS" .IP """""" 4 \&\f(CW\*(C`Debian::WNPPBug\*(C'\fR object instances stringify via the method . The default \f(CW\*(C`as_string\*(C'\fR method returns the bug number. .SH METHODS .IX Header "METHODS" .IP type_and_number 4 .IX Item "type_and_number" Returns a string representing the bug type and number in the form \fITYPE\fR #\fInumber\fR, e.g. \f(CW\*(C`ITP #1234\*(C'\fR. .IP as_string 4 .IX Item "as_string" Used for the "" overload. Returns the bug number. .SH AUTHOR .IX Header "AUTHOR" .IP "Damyan Ivanov " 4 .IX Item "Damyan Ivanov " .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" .PD 0 .IP "Copyright (C) 2010 Damyan Ivanov " 4 .IX Item "Copyright (C) 2010 Damyan Ivanov " .PD .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.