Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

extutils::config(3) [mojave man page]

ExtUtils::Config(3)					User Contributed Perl Documentation				       ExtUtils::Config(3)

NAME
ExtUtils::Config - A wrapper for perl's configuration VERSION
version 0.007 SYNOPSIS
my $config = ExtUtils::Config->new(); $config->set('installsitelib', "$ENV{HOME}/lib"); DESCRIPTION
ExtUtils::Config is an abstraction around the %Config hash. METHODS
new(\%config) Create a new ExtUtils::Config object. The values in "\%config" are used to initialize the object. get($key) Get the value of $key. If not overriden it will return the value in %Config. exists($key) Tests for the existence of $key. set($key, $value) Set/override the value of $key to $value. clear($key) Reset the value of $key to its original value. values_set() Get a hashref of all overridden values. all_config() Get a hashref of the complete configuration, including overrides. clone() Clone the current configuration object. serialize() This method serializes the object to some kind of string. AUTHORS
o Ken Williams <kwilliams@cpan.org> o Leon Timmermans <leont@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2006 by Ken Williams, Leon Timmermans. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2012-10-17 ExtUtils::Config(3)

Check Out this Related Man Page

Config::GitLike::Git(3pm)				User Contributed Perl Documentation				 Config::GitLike::Git(3pm)

NAME
Config::GitLike::Git - load Git configuration files SYNOPSIS
use Config::GitLike::Git; my $config = Config::GitLike::Git->new; $config->load("/path/to/repo"); DESCRIPTION
This is a modification of Config::GitLike to look at the same locations that Git writes to. Unlike with Config::GitLike, you do not need to pass a confname to its constructor. This module also enables the Config::GitLike option to maintain git compatibility when reading and writing variables. "load" in Config::GitLike should be passed path to the top level of a git repository -- this defaults to the current directory. It will append ".git" as necessary. It supports both bare and non-bare repositories. METHODS
This module overrides these methods from "Config::GitLike": dir_file The per-directory configuration file is .git/config user_file The per-user configuration file is ~/.gitconfig global_file The per-host configuration file is /etc/gitconfig is_git_dir Returns true if a file contains the necessary files (as git would reckon it) for the path to be a git repository. load_dirs Loads the relevant .git/config file. SEE ALSO
Config::GitLike LICENSE
You may modify and/or redistribute this software under the same terms as Perl 5.8.8. COPYRIGHT
Copyright 2010 Best Practical Solutions, LLC AUTHORS
Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com> perl v5.14.2 2012-02-16 Config::GitLike::Git(3pm)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Config to html

Hi, Does anybody know of a system utility or a script that is used on IRIX(SGI) server to print out the configuration and information of the system in html format. Please let me know if you do thanks in advance (1 Reply)
Discussion started by: vtran4270
1 Replies

2. HP-UX

Config Files

Does anyone have a list of key config files and the respective paths for HP-UX? Or does anyone know where I can get a list similar to this? Thanks, TOdd (0 Replies)
Discussion started by: toddjameslane
0 Replies

3. Linux

Linux Redhat ES 4.0 - DNS Config Issues

(11 Replies)
Discussion started by: AbhijithS
11 Replies

4. Shell Programming and Scripting

Config Generation

I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and would like to get some advice from anyone who has any ideas or experience in doing this. Here are some things I want to achieve in generating... (1 Reply)
Discussion started by: humbletech99
1 Replies

5. Shell Programming and Scripting

using perl config files

Hi, I have 2 perl SubRoutines (sub 1 and sub 2). I created two perl modules for these (Sub1.pm and Sub2.pm). How can I include these in a config file (say Config.cfg) and call the config file in my main script Rename.pl to use the 2 subroutines? Right now here are the content of Config.cfg... (1 Reply)
Discussion started by: CCFP
1 Replies

6. Shell Programming and Scripting

perl -MConfig -e 'print "$Config{byteorder}\n";'

What exactly is this code returning: perl -MConfig -e 'print "$Config{byteorder}\n";' I am executing this command in two platforms. In AIX i am getting : 4321 In Linux i am getting: 12345678 Does it mean that a byte size in aix is of 4 bits(is it possible)? Also, will there be... (2 Replies)
Discussion started by: baig_1988
2 Replies

7. Shell Programming and Scripting

Help related to Script to move files depending on config values

Hi All, I am new to Unix scripting, I have requirement where I need to read the key value pair from config file. Sample Config file: Key(File Pattern) Value(File Directory location) test /Users/Bkumar/Downloads/testdir prod ... (1 Reply)
Discussion started by: sbpkumar7
1 Replies

8. Shell Programming and Scripting

Read Data from Config file using Perl

Hi All, Can anyone please explain me how to read data from config file in Perl. Suppose i have a config file named cfile. The data in config file is name=parth lname=mittal user=2007 hostname=fluoride username=parthmittal password=XXXXXX account=unix url=www.unix.com ... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

9. Shell Programming and Scripting

.Config file in perl

Hi can anybody help me in how to read .config file in Perl, which module is used, and some help in coding. (10 Replies)
Discussion started by: parthmittal2007
10 Replies

10. Shell Programming and Scripting

Config file edition by script

Hello. I am looking for a simple way to modify config files after a first install. I have a file containing the good key=value good_config.txt SSHAuthorizedKeys="authorized_keys" SSHD_PORT=54321 ENABLE_PASSDB_AUTHENTICATION="0" ENABLE_SSH_AUTHENTICATION="1" ENABLE_SU_AUTHENTICATION="0"... (3 Replies)
Discussion started by: jcdole
3 Replies

11. Red Hat

Redhat Clone

What is the best method to use to clone a Redhat machine, to ensure all software and config can be easily installed on new hardware? Thank you! (3 Replies)
Discussion started by: da2013
3 Replies