GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WWWdb::ConfigPool(3) User Contributed Perl Documentation WWWdb::ConfigPool(3)

WWWdb::ConfigPool - ConfigPools for WWWdb

 use WWWdb::ConfigPool;

 $oConfigPool = ConfigPool->new($cFileName,
                                [ReadOnly  => $bReadOnly,]
                                [MustExist => $bMustExist]);

 $cValue      = $oConfigPool->GetValue($cSection,
                                       $cEntry);

 @lValue      = $oConfigPool->GetList($cSection,
                                      $cEntry);

 $cValue      = $oConfigPool->SetValue($cSection,
                                       $cEntry,
                                       $cValue);

 $oConfigPool->DESTROY>();

...

Currently the configfile is supported in the ini-file style.

sections

In this style, the entries can be placed in sections (and subsections). Sections are placed in [ and ] parens. This looks like the following:

 [section]

or

 [Section subsection]

entries

The single entries are described in the form entry = value. Single-lined entries as well as multiple-lined entries are supported. They look like the following examples:

 entry = value

 entry = "value1 value2"

 entry = <<EOF
 value1
 value2
 value3
 EOF

comments

Comments are always on a separate line. They start with a # or ;. Some examples:

 # This is a comment
 ; This is a comment too
 no_comment = # no comment

new
 $oConfigPool     = ConfigPool->new([FillAtInsert => $bFill]);
    

...

...
...

Hey! The above document had some coding errors, which are explained below:
Around line 271:
You can't have =items (as at line 275) unless the first thing after the =over is an =item
2002-03-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.