Config::General 2.41 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Config::General 2.41 (Default branch)
# 1  
Old 12-17-2008
Config::General 2.41 (Default branch)

With Config::General you can read and write config files and access the parsed contents from a hash structure. The format of config files supported by Config::General is inspired by the Apache config format (and is 100% compatible with Apache configs). It also supports some enhancements such as here-documents, C-style comments, and multiline options. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
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)