Config::YUM 1.8

Config::YUM 1.8

Sponsored Links

Config::YUM 1.8 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.007 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 5375 Date added: 2007-04-12 Publisher: Oliver Falk Publisher URL: http://projects.linux-ker

Config::YUM 1.8 description

Config::YUM is a Perl extension for parsing yum.conf.

SYNOPSIS

use Config::YUM;

my $yp = new Config::YUM;
my $yum_conf = $yp->parse();

foreach(keys %{$yum_conf}) {
print "Section: $_ is called " . $yum_conf->{$_}->{name} . "n";
}

$yum_conf will be a a hash, all INI sections are the primary hash keys.
include= will be automatically downloaded merged with the local yum.conf
mirrorlists will also be downloaded and saved as an array in $yum_conf->{somerepo}->{baseurls}
the first url in mirrorlists will be safed as $yum_conf->{somerepo}->{baseurl}.
exclude statements will be splited and safed to $yum_conf->{somerepo}->{exclude_hash}. Note that we
safe a perl regex string as keys here.

To say it with one sentence. Config::YUM automatically parses a yum.conf does the downloading and provides you
with a ready to use perl hash. :-)

You can define a few things @ new:

- use_cache: 0/1 (1 will enable, default: 0; Uses Cache::File)

- yum_conf: path to your yum.conf (default: /etc/yum.conf)

- yum_repos_d: path to your yum.repos.d (default: /etc/yum.repos.d)

- agent: You LWP::UserAgent agent string (default: Config::YUM/$VERSION)

- releasever: Define your RH/FC release version (rpm -qf --queryformat %{VERSION} /etc/redhat-release; Default: automatically queried)

- basearch: Define your basearch (uname -i; Default: automatically discovered)

- download_primary: Define if we should download/parse the primary.xml.gz

These arguments can be specified this way (dont forget the {!)
my $yp = new Config::YUM({
use_cache => 1,
yum_conf => /etc/yum.conf,
yum_repos_d => /etc/yum.repos.d,
agent => MyProgram/$VERSION,
relasever => 4,
basearch => i386,
download_primary => 1
});

This module provides you with a few functions,
parse() will return a hash containing the allready parsed local/remote yum.conf.

yumconf_local() will return a hash containing the allready parsed local yum.conf (Will run parse(), if you didnt yet)
yumconf_remote() will return a hash containing the allready parsed remote yum.conf (Will run parse(), if you didnt yet)

Download now

Config::YUM 1.8 Screenshot

Sponsored Links
Download Config::YUM 1.8

Config::YUM 1.8 Keywords

Bookmark Config::YUM 1.8

Hyperlink code:
Hyperlink and Intro code:

Config::YUM 1.8 Copyright

WareSeeker periodically updates pricing and software information of Config::YUM 1.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Config::YUM 1.8 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Config::YUM 1.8 Related Software


PWC-Config is a graphical user interface for configuring all Web cameras supported by the PWC driver.

pkg-config is a system for managing library compile/link flags that works with automake and autoconf.

XAO::DO::FS::Config is an embeddable configuration object for XAO::FS.

DNS::Config is a Perl module with DNS Configuration.

Config::General is a perl module opens a config file and parses its contents for you.

Config::Std is a Perl module load and save configuration files in a standard format.

Gimp::Config is a Perl module with config options found during configure time.

PXP::Config is a Perl module for PXP configuration.

Config::Model provides a framework to help in validating the semantic content of configuration data.

Config::Model provides a framework to help in validating the semantic content of configuration data.
Config::YUM 1.8 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD