BSD Ports

devel/p5-Config-IniFiles 3.000003 MidnightBSD

Read .ini-style configuration files

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

Config::IniFiles provides a way to have readable configuration files outside your Perl script. The configuration can be safely reloaded upon receipt of a signal. Configurations can be imported (inherited, stacked,...), sections can be grouped, and settings can be accessed from a tied hash.

USAGE

Get a new Config::IniFiles object with the *new* method:

$cfg = Config::IniFiles->new( -file => "/path/configfile.ini" );
$cfg = new Config::IniFiles -file => "/path/configfile.ini";

Optional named parameters may be specified after the configuration file name. See the *new* in the METHODS section, below.

INI files consist of a number of sections, each preceded with the section name in square brackets. Parameters are specified in each section as Name=Value. Any spaces around the equals sign will be ignored, and the value extends to the end of the line.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Config-IniFiles3.000003
FreeBSDdevel/p5-Config-IniFiles3.000003_1
OpenBSDdevel/p5-Config-IniFiles3.003000
NetBSDdevel/p5-Config-IniFiles3.001000nb1
DragonFlydevel/p5-Config-IniFiles3.000003_1

Install

Binary package:

mport install p5-Config-IniFiles

From mports:

cd /usr/mports/devel/p5-Config-IniFiles && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Config-IniFiles>0:devel/p5-Config-IniFiles

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Config/IniFiles.pm
  • %%PERL5_MAN3%%/Config::IniFiles.3.gz
distinfo 1
FileSizeSHA256
Config-IniFiles-3.000003.tar.gz700243c457b65d98e5ff40bdb9cf814b0d5983eb0c53fb8696bda3ba035ad2acd6802
Master sites 1
  • CPAN