NAME

Util::Medley::PkgManager::RPM - Class for interacting with RPM

VERSION

version 0.049

SYNOPSIS

my $rpm = Util::Medley::PkgManager::RPM->new;

#
# positional  
#
$aref = $rpm->queryAll;
$aref = $rpm->queryList($rpmName);
                      
#
# named pair
#
$aref = $rpm->queryList(rpmName => $rpmName);

DESCRIPTION

A simple wrapper library for the Redhat Package Manager.

ATTRIBUTES

none

METHODS

queryAll

Query all installed packages.

Returns: ArrayRef[Str]

usage:
$aref = $yum->queryAll;
args: None

queryList

List files in package.

Returns: ArrayRef[Str]

usage:
$aref = $yum->queryList($rpmName);

$aref = $yum->queryList(rpmName => $rpmName);
args:
rpmName [Str] (required)

The name of the rpm package to query.