Debian...PP::Bug(3pm)
πΈ Debian::WNPP::Bug(3pm) β the NAME section
okay bestie, come SIT. this is Debian::WNPP::Bug, and it's literally a handy little representation of Debian WNPP bug reports π like, the whole point is that a bug becomes a cute little thing you can carry around in your Perl code instead of a pile of raw data. iconic behavior, no cap.
β¨ SYNOPSIS β¨
like, here's the vibe:
my $b = Debian::WNPP::Bug->new(
{ number => 1234,
title => 'RFP: nice-package -- do nice things easier',
type => 'rfp',
package => 'nice-package',
short_description => 'do nice things together',
submitter => "Joe Developer <joe@developer.local>"
}
);
print "$b"; # 1234
see how print "$b" just spits out 1234? that's the overload doing its little dance π
π CONSTRUCTOR π
newβ builds you a brand new instance of the class. you gotta hand it the starting values as a hash reference. that's it, that's the whole job π«Ά
π¦ FIELDS π¦
these are the lil attributes, the personality traits if you will:
numberβ the unique ID of the bug in the BTS. the bug's whole government name, basically.titleβ the title of the bug. usually it looks something like
RFP: nice-package -- do nice things easier
typeβ which flavor of WNPP bug this is. it's one of:- RFP β request for package
- ITP β intent to package
Oβ orphaned package- RFH β request for help
- RFA β request for adoption
- ITA β intent to adopt
(the acronyms are the moment, honestly π)
packageβ the package nameshort_descriptionβ the short description of the packagesubmitterβ whoever filed the bug, written in the form"Full Name <email@address>"
π« OVERLOADS π«
""βDebian::WNPP::Bugobject instances stringify via the method. the defaultas_stringmethod returns the bug number. yes ma'am, that's whyprint "$b"gave you1234up there. it's giving effortless β
π METHODS π
type_and_numberβ hands you back a string with the bug type and number in the formTYPE #number, like for example"ITP #1234". so useful, so concise, obsessed.as_stringβ this is the one the""overload uses. it returns the bug number. that's the whole thing π
π§ AUTHOR π§
Damyan Ivanov <dmn@debian.org> β thank you for your service, king π
π COPYRIGHT & LICENSE π
Copyright (C) 2010 Damyan Ivanov <dmn@debian.org>
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.
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.
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.
bestie pls note: that "WITHOUT ANY WARRANTY" part is real. like, fr fr, no warranty. read the license, it's not a vibe, it's a legal thing π
and that's the whole page, periodt π this was perl v5.40.1, dated 2026-05-08, brought to you by the Debian...PP::Bug(3pm) manual. mwah, go file some WNPP bugs responsibly β¨π
π¦ where this page comes from
- ubuntu stonking: libdebian-source-perl 0.133 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms