BSD Ports

devel/p5-ConfigReader 0.5_2 DragonFly

Perl5 module to read directives from a configuration file

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
7.7 KiB, 28.1 KiB installed

Description

The ConfigReader library is a set of classes which reads directives from a configuration file. The library is completely object oriented, and it is envisioned that parsers for new styles of configuration files can be easily added.

   ConfigReader::Spec encapsulates a specification for
   configuration directives.  You can specify which
   directives can be in the configuration file, aliases for
   the directive, whether the directive is required or has a
   default value, and how to parse the directive value.

   Here's an example of how one directive might be specified:

        required $spec 'HomePage', 'new URI::URL';

   This defines a required directive called 'HomePage'.  To
   parse the value from the configuration file, the
   URI::URL::new() method will be called with the string
   value as its argument.

   use 'perldoc ConfigReader' for more information.

In the other systems

SystemPortVersion
DragonFlydevel/p5-ConfigReader0.5_2
FreeBSDdevel/p5-ConfigReader0.5_2
HardenedBSDdevel/p5-ConfigReader0.5_2
GhostBSDdevel/p5-ConfigReader0.5_2

Install

Binary package:

pkg install p5-ConfigReader

From DPorts:

cd /usr/dports/devel/p5-ConfigReader && make install clean

Dependencies

Run dependencies 1

No port depends on this one.