log::handler::plugin::config::general(3pm) [debian man page]
Log::Handler::Plugin::Config::General(3pm) User Contributed Perl Documentation Log::Handler::Plugin::Config::General(3pm)NAME
Log::Handler::Plugin::Config::General - Config loader for Config::General.
SYNOPSIS
use Log::Handler::Plugin::Config::General;
my $config = Log::Handler::Plugin::Config::General->get_config( $config_file );
ROUTINES
get_config()
Expect the config file name and returns the config as a reference.
CONFIG STYLE
<file>
<mylog>
fileopen = 1
reopen = 1
permissions = 0640
maxlevel = info
mode = append
timeformat = %b %d %H:%M:%S
debug_mode = 2
filename = example.log
minlevel = warn
message_layout = %T %H[%P] [%L] %S: %m
newline = 1
</mylog>
</file>
PREREQUISITES
Config::General
EXPORTS
No exports.
REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
If you send me a mail then add Log::Handler into the subject.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-11-21 Log::Handler::Plugin::Config::General(3pm)
Check Out this Related Man Page
Log::Handler::Plugin::Config::Properties(3pm) User Contributed Perl Documentation Log::Handler::Plugin::Config::Properties(3pm)NAME
Log::Handler::Plugin::Config::Properties - Config loader for Config::Properties.
SYNOPSIS
use Log::Handler::Plugin::Config::Properties;
my $config = Log::Handler::Plugin::Config::Properties->get_config( $config_file );
ROUTINES
get_config()
Expect the config file name and returns the config as a reference.
The configuration uses full stops "." as a delimiter.
CONFIG STYLE
file.mylog.reopen = 1
file.mylog.fileopen = 1
file.mylog.maxlevel = info
file.mylog.permissions = 0640
file.mylog.mode = append
file.mylog.timeformat = %b %d %H:%M:%S
file.mylog.debug_mode = 2
file.mylog.minlevel = warn
file.mylog.filename = example.log
file.mylog.newline = 1
file.mylog.message_layout = %T %H[%P] [%L] %S: %m
PREREQUISITES
Config::Properties
EXPORTS
No exports.
REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
If you send me a mail then add Log::Handler into the subject.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-11-21 Log::Handler::Plugin::Config::Properties(3pm)
hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like:
ax R *Handler Int
16 aio_max R *Handler Int
17 aio_prio_delta_max R *Handler Int
18 delaytimer_max R *Handler Int
19 mq_open_max R *Handler Int
20 pagesize R *Handler Int
21 rtsig_max R *Handler Int... (6 Replies)
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)
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)
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)
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)