BZ::Cl...cation(3pm)
π BZ::Client::Classification β the Perl side of Bugzilla Classifications (yes, the 3pm manual, we're doing this)
okay so bestie, welcome to BZ::Client::Classification, your lil' client-side bestie for Classifications in Bugzilla π
it's a Perl module, it lives in User Contributed Perl Documentation, and it's here to make your life easier. no cap.
β¨ NAME β¨
BZ::Client::Classification β Client side representation of Classifications in Bugzilla π¦
πΈ VERSION πΈ
version 4.91 β that's the one, remember it for the vibe check β
π SYNOPSIS π
This class provides methods for accessing Classification information in the Bugzilla server. literally what it says on the tin π«Ά
my $client = BZ::Client->new( url => $url,
user => $user,
password => $password );
my $classifications = BZ::Client::Classification->get( $client, \%params );
π CLASS METHODS π
This section lists the class methods, which are available in this module. gather round, there's one of them π
π get
$classifications = BZ::Client::Classification->get( $client, \%params );
Returns a hash containing information about a set of classifications. a hash! containing info! about a set of classifications! we love a return value that does what it says π
π History
- Added in Bugzilla
4.4. - Marked experiemental as of Bugzilla
5.0. π (their spelling, not mine, iykyk β so like, don't build your whole personality on it)
π§ Parameters
In addition to the parameters below, this method also accepts the standard include_fields in BZ::Client::Bug and exclude_fields in BZ::Client::Bug arguments. yes, both of them, they're a package deal π
You could get classifications info by supplying their names and/or ids. So, this method accepts the following parameters:
idsβ An array of classification ids. π₯namesβ An array of classification names. β¨
π Returns
An array of hashes as the corresponding value. Each element of the array represents a classification that the user is authorized to see and has the following keys:
idβ id (int) The id of the classification.nameβ name (string) The name of the classification.descriptionβ description (string) The description of the classificaion. (again, their spelling, i'm just the messenger π)sort_keyβ sort_key (int) The value which determines the order the classification is sorted. the main character of ordering, honestly.productsβ An array of hashes. The array contains the products the user is authorized to access within the classification. Each hash has the following keys:nameβ name (string) The name of the product.idβ id (int) The id of the product.descriptionβ description (string) The description of the product.
π Errors
900- Classification not enabled β Classification is not enabled on this installation. not me getting error 900 because somebody didn't turn it on π
π¦ EXCEPTION HANDLING π¦
See BZ::Client::Exception β that's where the feelings (and the errors) get processed, bestie.
β SEE ALSO β
BZ::ClientBZ::Client::API- Bugzilla API
https://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Classification.html
go read them, they ate π
π«Ά AUTHORS π«Ά
- Dean Hamstead
<dean@bytefoundry.com.au> - Jochen Wiedmann
<jochen.wiedmann@gmail.com>
icons, both of them π
πΈ COPYRIGHT AND LICENSE πΈ
This software is copyright (c) 2026 by Dean Hamstad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. free software fr fr, go wild, just keep the terms π
ok that's the whole page, no notes π
and finally, the cute sign-off you were promised: this lil' beauty came to you via perl v5.40.2, dated 2026-07-16, and yes β the page you're reading is BZ::Cl...cation(3pm), because even the header got abbreviated and honestly? iconic. β¨πβ
π¦ where this page comes from
- epel 10: perl-BZ-Client 4.9100-2.el10_3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms