™.. CONFIG_DATA - Online Linux Manual PageSection : 1
Updated : 2017-03-22
Source : perl v5.10.1
Note : Perl Programmers Reference Guide
NAMEconfig_data − Query or change configuration of Perl modules
SYNOPSIS # Get config/feature values
config_data −−module Foo::Bar −−feature bazzable
config_data −−module Foo::Bar −−config magic_number
# Set config/feature values
config_data −−module Foo::Bar −−set_feature bazzable=1
config_data −−module Foo::Bar −−set_config magic_number=42
# Print a usage message
config_data −−help
DESCRIPTIONThe \*(C`config_data\*(C'\fR tool provides a command-line interface to the configuration of Perl modules. By ‟configuration”, we mean something akin to ‟user preferences” or ‟local settings”. This is a formalization and abstraction of the systems that people like Andreas Koenig (\*(C`CPAN::Config\*(C'\fR), Jon Swartz (\f(CW\*(C`HTML::Mason::Config\*(C'\fR), Andy Wardley (\*(C`Template::Config\*(C'\fR), and Larry Wall (perl's own Config.pm) have developed independently. The configuration system emplyed here was developed in the context of \*(C`Module::Build\*(C'\fR. Under this system, configuration information for a module \*(C`Foo\*(C'\fR, for example, is stored in a module called \*(C`Foo::ConfigData\*(C'\fR) (I would have called it \f(CW\*(C`Foo::Config\*(C'\fR, but that was taken by all those other systems mentioned in the previous paragraph...). These \*(C`...::ConfigData\*(C'\fR modules contain the configuration data, as well as publically accessible methods for querying and setting (yes, actually re-writing) the configuration data. The \*(C`config_data\*(C'\fR script (whose docs you are currently reading) is merely a front-end for those methods. If you wish, you may create alternate front-ends. The two types of data that may be stored are called \*(C`config\*(C'\fR values and \*(C`feature\*(C'\fR values. A \f(CW\*(C`config\*(C'\fR value may be any perl scalar, including references to complex data structures. It must, however, be serializable using \*(C`Data::Dumper\*(C'\fR. A \f(CW\*(C`feature\*(C'\fR is a boolean (1 or 0) value.
USAGEThis script functions as a basic getter/setter wrapper around the configuration of a single module. On the command line, specify which module's configuration you're interested in, and pass options to get or set \*(C`config\*(C'\fR or \f(CW\*(C`feature\*(C'\fR values. The following options are supported: module Specifies the name of the module to configure (required). feature When passed the name of a \*(C`feature\*(C'\fR, shows its value. The value will be 1 if the feature is enabled, 0 if the feature is not enabled, or empty if the feature is unknown. When no feature name is supplied, the names and values of all known features will be shown. config When passed the name of a \*(C`config\*(C'\fR entry, shows its value. The value will be displayed using \*(C`Data::Dumper\*(C'\fR (or similar) as perl code. When no config name is supplied, the names and values of all known config entries will be shown. set_feature Sets the given \*(C`feature\*(C'\fR to the given boolean value. Specify the value as either 1 or 0. set_config Sets the given \*(C`config\*(C'\fR entry to the given value. eval If the \*(C`\-\-eval\*(C'\fR option is used, the values in \f(CW\*(C`set_config\*(C'\fR will be evaluated as perl code before being stored. This allows moderately complicated data structures to be stored. For really complicated structures, you probably shouldn't use this command-line interface, just use the Perl API instead. help Prints a help message, including a few examples, and exits.
AUTHORKen Williams, kwilliams@cpan.org
COPYRIGHTCopyright (c) 1999, Ken Williams. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSOModule::Build (3), perl (1). 0
Johanes Gumabo
Data Size : 12,089 byte
man-config_data.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 236,213
Visitor ID : :
Visitor IP : 3.144.116.34 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|config_data.1|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|config_data.1|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|config_data.1|41|br══─}─══|'br══─}─══
) (htmlprn|149|config_data.1|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|config_data.1|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|config_data.1|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|config_data.1|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|config_data.1|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|config_data.1|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|config_data.1|57|══─}─══|.══─}─══
) (htmlprn|149|config_data.1|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|config_data.1|150|\*(C`config_data\*(C'\fR tool provides a command-line interface to the |The \f(CW\*(C`config_data\*(C'\fR tool provides a command-line interface to the
) (rof_escape_sequence|91|config_data.1|154|\*(C`CPAN::Config\*(C'\fR), Jon Swartz (\f(CW\*(C`HTML::Mason::Config\*(C'\fR), Andy |Koenig (\f(CW\*(C`CPAN::Config\*(C'\fR), Jon Swartz (\f(CW\*(C`HTML::Mason::Config\*(C'\fR), Andy
) (rof_escape_sequence|91|config_data.1|155|\*(C`Template::Config\*(C'\fR), and Larry Wall (perl's own Config.pm) |Wardley (\f(CW\*(C`Template::Config\*(C'\fR), and Larry Wall (perl's own Config.pm)
) (rof_escape_sequence|91|config_data.1|159|\*(C`Module::Build\*(C'\fR. Under this system, configuration information for a |\&\f(CW\*(C`Module::Build\*(C'\fR. Under this system, configuration information for a
) (rof_escape_sequence|91|config_data.1|160|\*(C`Foo\*(C'\fR, for example, is stored in a module called |module \f(CW\*(C`Foo\*(C'\fR, for example, is stored in a module called
) (rof_escape_sequence|91|config_data.1|161|\*(C`Foo::ConfigData\*(C'\fR) (I would have called it \f(CW\*(C`Foo::Config\*(C'\fR, but that |\&\f(CW\*(C`Foo::ConfigData\*(C'\fR) (I would have called it \f(CW\*(C`Foo::Config\*(C'\fR, but that
) (rof_escape_sequence|91|config_data.1|163|\*(C`...::ConfigData\*(C'\fR modules contain the |paragraph...). These \f(CW\*(C`...::ConfigData\*(C'\fR modules contain the
) (rof_escape_sequence|91|config_data.1|166|\*(C`config_data\*(C'\fR script (whose docs you are currently |data. The \f(CW\*(C`config_data\*(C'\fR script (whose docs you are currently
) (rof_escape_sequence|91|config_data.1|170|\*(C`config\*(C'\fR values |The two types of data that may be stored are called \f(CW\*(C`config\*(C'\fR values
) (rof_escape_sequence|91|config_data.1|171|\*(C`feature\*(C'\fR values. A \f(CW\*(C`config\*(C'\fR value may be any perl scalar, |and \f(CW\*(C`feature\*(C'\fR values. A \f(CW\*(C`config\*(C'\fR value may be any perl scalar,
) (rof_escape_sequence|91|config_data.1|173|\*(C`Data::Dumper\*(C'\fR. A \f(CW\*(C`feature\*(C'\fR is a boolean (1 or |serializable using \f(CW\*(C`Data::Dumper\*(C'\fR. A \f(CW\*(C`feature\*(C'\fR is a boolean (1 or
) (rof_escape_sequence|91|config_data.1|180|\*(C`config\*(C'\fR or \f(CW\*(C`feature\*(C'\fR values. The following options are |or set \f(CW\*(C`config\*(C'\fR or \f(CW\*(C`feature\*(C'\fR values. The following options are
) (rof_escape_sequence|91|config_data.1|187|\*(C`feature\*(C'\fR, shows its value. The value will |When passed the name of a \f(CW\*(C`feature\*(C'\fR, shows its value. The value will
) (rof_escape_sequence|91|config_data.1|193|\*(C`config\*(C'\fR entry, shows its value. The value |When passed the name of a \f(CW\*(C`config\*(C'\fR entry, shows its value. The value
) (rof_escape_sequence|91|config_data.1|194|\*(C`Data::Dumper\*(C'\fR (or similar) as perl code. |will be displayed using \f(CW\*(C`Data::Dumper\*(C'\fR (or similar) as perl code.
) (rof_escape_sequence|91|config_data.1|199|\*(C`feature\*(C'\fR to the given boolean value. Specify the value |Sets the given \f(CW\*(C`feature\*(C'\fR to the given boolean value. Specify the value
) (rof_escape_sequence|91|config_data.1|203|\*(C`config\*(C'\fR entry to the given value. |Sets the given \f(CW\*(C`config\*(C'\fR entry to the given value.
) (rof_escape_sequence|91|config_data.1|206|\*(C`\-\-eval\*(C'\fR option is used, the values in \f(CW\*(C`set_config\*(C'\fR will be |If the \f(CW\*(C`\-\-eval\*(C'\fR option is used, the values in \f(CW\*(C`set_config\*(C'\fR will be
)