Config::Scoped::Error(3pm) User Contributed Perl Documentation Config::Scoped::Error(3pm)NAME
Config:Scoped::Error - an exception class hierarchy based on Error.pm for Config::Scoped
SYNOPSIS
use Config::Scoped::Error;
Config::Scoped::Error::Parse->throw(
-text => $parser_error,
-file => $config_file,
-line => $thisline,
);
Config::Scoped::Error::IO->throw(
-text => "can't open file: $!",
-file => $config_file,
-line => $thisline,
);
Config::Scoped::Error::Validate::Macro->throw(
-text => "macro redefinition: $macro_name",
-file => $config_file,
-line => $thisline,
);
DESCRIPTION
Config::Scoped::Error is a class hierarchy based on Error.pm. The following Exception class hierarchy is defined:
Config::Scoped::Error
Config::Scoped::Error::Parse
Config::Scoped::Error::Validate
Config::Scoped::Error::Validate::Macro
Config::Scoped::Error::Validate::Parameter
Config::Scoped::Error::Validate::Declaration
Config::Scoped::Error::Validate::Permissions
Config::Scoped::Error::IO
SEE ALSO
Config::Scoped, Error
AUTHOR
Karl Gaissmaier <karl.gaissmaier at uni-ulm.de>
COPYRIGHT AND LICENSE
Copyright (c) 2004-2008 by Karl Gaissmaier
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-16 Config::Scoped::Error(3pm)
Check Out this Related Man Page
Config::PropertyConfigurator(3pm) User Contributed Perl Documentation Config::PropertyConfigurator(3pm)NAME
Log::Log4perl::Config::PropertyConfigurator - reads properties file
SYNOPSIS
# This class is used internally by Log::Log4perl
use Log::Log4perl::Config::PropertyConfigurator;
my $conf = Log::Log4perl::Config::PropertyConfigurator->new();
$conf->file("l4p.conf");
$conf->parse(); # will die() on error
my $value = $conf->value("log4perl.appender.LOGFILE.filename");
if(defined $value) {
printf("The appender's file name is $value
");
} else {
printf("The appender's file name is not defined.
");
}
DESCRIPTION
Initializes log4perl from a properties file, stuff like
log4j.category.a.b.c.d = WARN, A1
log4j.category.a.b = INFO, A1
It also understands variable substitution, the following configuration is equivalent to the previous one:
settings = WARN, A1
log4j.category.a.b.c.d = ${settings}
log4j.category.a.b = INFO, A1
SEE ALSO
Log::Log4perl::Config
Log::Log4perl::Config::BaseConfigurator
Log::Log4perl::Config::DOMConfigurator
Log::Log4perl::Config::LDAPConfigurator (tbd!)
COPYRIGHT AND LICENSE
Copyright 2002-2009 by Mike Schilli <m@perlmeister.com> and Kevin Goess <cpan@goess.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-07-21 Config::PropertyConfigurator(3pm)
Hi All
When I compile one file.pc
I meet one error
Syntax error at line 105, column 4, file PRC_SVC_CALL.pc:
Error at line 105, column 4 in file PRC_SVC_CALL.pc
} TEMP;
...1
PCC-S-02201, Encountered the symbol "167776630" when expecting one of the follow
ing:
( ) [
The... (9 Replies)
I am using following code but getting error
Error on line 136:
(SQR 3710) Unknown argument type.
Given below part of program where i am getting error.......
input $p_region type=char
if ( '$p_region' = 'ESAP' )
let $msg = 'YES'
do log_msg ({PROG_NAME}, {SEV_INFO}, $msg)
else... (5 Replies)
Hi all,
We have below WARNING in /var/adm/messages file from our Solaris server.
WARNING: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 (sd0):
Error for Command: write(10) Error Level: Fatal
Requested Block: 16745265 Error Block: 16745269
Vendor: SEAGATE Serial Number:... (8 Replies)
Hello,
I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance.
Here is my .bat file:
echo off
set... (9 Replies)
Our log file looks like this:
2010-11-18 00:57:01,698 ERROR
Shipment Error Log:Error Details - Account Id:3962, PO:2710015, Line:2, File:221112901, Version:V1, Desc:Order cannot not be shipped as there are no line items in New state
2010-11-18 14:59:39,960 ERROR... (11 Replies)
The scope of the shell/perl script is to read the input text file. Validate the expiry date of each certificate and send the mail to the user. The user takes action to add the new certificate to the storage file and user owns the responsibility to update the input text file with the new certificate... (5 Replies)
While uploading an exl file to my application in Solaris 10 the upload failed with error Error! Parsing Error: /SPLM/TC83/tcdata83/model/model_dbextract.xml Line:65576 Column:73 An invalid XML character (Unicode: 0x1a) was found in the value of attribute "unitOfMeasureSymbol" and element is ... (12 Replies)
Hi all,
I have a piece of code which cork perfect. It copy the no of lines from some files (*.log) into finalLog file.
It read the lines after the line have text "ntot".
Here it is :
#!/bin/bash ... (10 Replies)
Hi ALL,
I want to replace string occurrence in my file "Config" using a external file named "Mapping" using awk.
$cat Config
! Configuration file for RAVI
! Configuration file for RACHANA
! Configuration file for BALLU
$cat Mapping
ravi:ram
rachana:shyam
ballu:hameed
The... (5 Replies)