BSD Ports

devel/p5-Config-IniFiles 3.000003_1 FreeBSD

Read .ini-style configuration files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
38.2 KiB, 107.3 KiB installed

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
FreeBSDdevel/p5-Config-IniFiles3.000003_1
OpenBSDdevel/p5-Config-IniFiles3.003000
NetBSDdevel/p5-Config-IniFiles3.001000nb1
DragonFlydevel/p5-Config-IniFiles3.000003_1
MidnightBSDdevel/p5-Config-IniFiles3.000003

Install

Binary package:

pkg install p5-Config-IniFiles

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.000003_13.000003_13.000003_13.000003_13.000003_1
FreeBSD:14:quarterly3.000003_13.000003_1n/a3.000003_13.000003_1
FreeBSD:15:latest3.000003_13.000003_1n/a3.000003_13.000003_1
FreeBSD:15:quarterly3.000003_13.000003_1n/an/an/a
FreeBSD:16:latest3.000003_13.000003_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

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

Commit history 0

No commits in the history this site was built from.