Zane C. Bowers-Hadley > ZConf-6.1.0 > zcget

Download:
ZConf-6.1.0.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

zcget - Reads a value from a ZConf config.

SYNOPSIS ^

zcget [-s <set>] [-r] [-p] -c <config> -k <key>

zcget [-s <set>] [-r] [-p] -C -c <config> -k <key> -K <comment key>

zcget [-s <set>] [-r] [-p] -m -c <config> -k <key> -K <meta key>

SWTICHES ^

-c <config>

This is the configuration to operate on.

-C

Search comments.

-k <key>

This is the key to operate on.

-K <second key>

The meta or comment key.

-m

Search metas.

-p

Print in ZML style.

-r

The supplied key values are regular expression.

Otherwise '^' is prefixed and '$' and is postfixed.

-s <set>

The set to operate on. This is the only optional switch. If it is now defined, The choosen/default config will be used.

EXIT CODES ^

Any error codes not specified below are ZConf error codes.

254

Invalid usage of some sort.

AUTHOR ^

Copyright (c) 2011, Zame C. Bowers-Hadley <vvelox@vvelox.net>

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS` OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Changelog ^

2009-11-22/4:30 1.0.0

Add meta and comment support.

Add regex flag.

Add key printing support.

Massive documentation in provement.

--help correction.

2009-07-08/1:00 0.1.0

Add sys mode.

2008-10-06/3:05 0.0.1

Fix POD SYNOPSIS section and version info.

2008-10-06/2:10 0.0.0

Initial release.

SCRIPT CATEGORIES ^

Desktop

OSNAMES ^

any

README ^

zcget - Reads a value from a ZConf config.

syntax highlighting: