Alien:...:RpmDB(3pm)
π Alien::Packages::RpmDB β the Perl doc, but make it slay π
okay so bestie, this is Alien::Packages::RpmDB (it's a 3pm page, from the User Contributed Perl Documentation, iykyk). It accesses the RPM database directly. Like, straight in. No middleman. Main character energy fr fr.
β¨ NAME β¨
Alien::Packages::RpmDB β acesses the RPM database directly
π«Ά psst, the typo in "acesses" is canon, bestie. We keep it exactly as the ancestors wrote it. No cap.
πΈ ISA πΈ
Alien::Packages::RpmDB
ISA Alien::Packages::Base
So yeah β it inherits from Alien::Packages::Base. Family tree, but make it Perl. π³
π SUBROUTINES/METHODS π
π usable
Returns true when the rpm database can be accessed via RPM::Database.
Like a lil vibe check for your database connection. True = we're so back. β¨
π new
Instantiates a new Alien::Packages::RpmDB object and initializes a connection to the rpm database.
Baby's first object πΌ and she comes pre-connected. Obsessed.
π pkgtype
Returns the pkg type "rpm".
That's it. That's the whole method. She's simple, she's iconic, she knows who she is. π
π list_packages
Queries the list of installed rpm packages from the database.
Every installed rpm package, handed to you on a little platter. π
π list_fileowners
Queries the list of rpm packages from the database which have an association to the requested file(s).
So you pass in file(s), and she's like "oh bestie, these packages are linked to that" β file ownership reveal, but make it forensic. π₯
π AUTHOR π
Jens Rehsack, "<rehsack at cpan.org>"
Shoutout to Jens. The way he wrote a whole module and let us live in it. π«Ά
π LICENSE AND COPYRIGHT π
Copyright 2010 Jens Rehsack.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
π fr fr, it's dual-licensed β GPL or Artistic, your pick. Free software the way nature intended.
and that's the whole page, bestie π¦ no notes. this one's from perl v5.42.0, dated 2025-07-25, and it lives at Alien:...:RpmDB(3pm) β User Contributed Perl Documentation, periodt. πβ¨π
π¦ where this page comes from
- fedora 43: perl-Alien-Packages 0.003-30.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms