Thorsten Bomberg's avatar

You are behind a proxy. You can modify other data related to your profile by this link.

Thorsten Bomberg's avatar

Thorsten Bomberg

tbomberg

Involved Projects and Packages
Maintainer
Maintainer
Maintainer Bugowner

This module opens a config file and parses its contents for you. The new method
requires one parameter which needs to be a filename. The method getall returns a hash
which contains all options and its associated values of your config file.

The format of config files supported by Config::General is inspired by the well known Apache config
format, in fact, this module is 100% compatible to Apache configs, but you can also just use simple
name/value pairs in your config files.

In addition to the capabilities of an Apache config file it supports some enhancements such as here-documents,
C-style comments or multiline options.

Maintainer Bugowner

Given a list of scalars or reference variables, writes out their contents in
perl syntax. The references can also be objects. The content of each
variable is output in a single Perl statement. Handles self-referential
structures correctly.

The return value can be "eval"ed to get back an identical copy of the
original reference structure.

Any references that are the same as one of those passed in will be named
$VAR*n* (where *n* is a numeric suffix), and other duplicate references
to substructures within $VAR*n* will be appropriately labeled using arrow
notation. You can specify names for individual values to be dumped if you
use the "Dump()" method, or you can change the default $VAR prefix to
something else. See $Data::Dumper::Varname and $Data::Dumper::Terse
below.

The default output of self-referential structures can be "eval"ed, but the
nested references to $VAR*n* will be undefined, since a recursive
structure cannot be constructed using one Perl statement. You should set the
"Purity" flag to 1 to get additional statements that will correctly fill in
these references. Moreover, if "eval"ed when strictures are in effect,
you need to ensure that any variables it accesses are previously declared.

In the extended usage form, the references to be dumped can be given
user-specified names. If a name begins with a "*", the output will
describe the dereferenced type of the supplied reference for hashes and
arrays, and coderefs. Output of names will be avoided where possible if
the "Terse" flag is set.

In many cases, methods that are used to set the internal state of the
object will return the object itself, so method calls can be conveniently
chained together.

Several styles of output are possible, all controlled by setting
the "Indent" flag. See "Configuration Variables or Methods" below
for details.

Maintainer Bugowner

JSON (JavaScript Object Notation) is a simple data format.
See to and "RFC4627"().

This module converts Perl data structures to JSON and vice versa using either
JSON::XS or JSON::PP.

JSON::XS is the fastest and most proper JSON module on CPAN which must be
compiled and installed in your environment.
JSON::PP is a pure-Perl module which is bundled in this distribution and
has a strong compatibility to JSON::XS.

This module try to use JSON::XS by default and fail to it, use JSON::PP instead.
So its features completely depend on JSON::XS or JSON::PP.

Maintainer Bugowner

By default, this module exports a single hash (%RE) that stores or generates
commonly needed regular expressions (see "List of available patterns").

There is an alternative, subroutine-based syntax described in
"Subroutine-based interface".

Maintainer
openSUSE Build Service is sponsored by