Alien:...:RpmDB(3pm)

πŸ“¦ version 0.003, in fedora 43

πŸ’– 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. 🫢


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