----------
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
----------in win 2000 advanced server,..
i am somewhat comfortable with perl but i am new to perl modules..
when i tried to install xml::simple and xml::parser
there... (4 Replies)
Hi,
I am trying to install perl modules in HPUX under my account. I do not have the root permission.
The module name I am trying to install is Spreadsheet-WriteExcel. I have downloaded the tar.gz file from CPAN and extracted the same under my home directory.
When I try do 'perl... (2 Replies)
Hi All,
I am failry new to Perl.I am trying to install a Perl module (Filesys::df.pm) in an IBM AIX5.3 server.But I could not succeed in that.I am getting the following error:
abcd3dev# make
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias... (6 Replies)
All,
Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program.
Thanks,... (5 Replies)
Hi,
I am struggling in installing TK module for strawberry perl.
I downloaded TK804 module,
extracted to a folder, kept in c:/strawberry/perl/lib path,
then from tht path
1) perl makefile.pl
2)dmake
3)dmake test
4)dmake install
During perl makefile.pl it is giving error as... (3 Replies)
Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error?
problem is:
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz
OS unsupported
Warning: No success on command
Warning (usually harmless):... (1 Reply)
Hi,
I've been trying to install the perl module DateTime-0.72 onto Solaris 10 server.
# uname -a
SunOS 5.10 Generic_142910-17 i86pc i386 i86pc
but I'm getting the following error:
/export/home/perl-modules/DateTime-0.72/> perl Build.PL
Can't locate Module/Build.pm in @INC (@INC... (4 Replies)
Hi,
I am using Red Hat 9.0 and it does not have the inbuilt driver module for my onboard lan card (RTL 8169). I downloaded the module (file - r8169-6.017.00.tar.bz2 and even r8169-6.015.00.tar.bz2), but when try to install it it says r8169.h , r8169_n.c , Makefile etc are not ELF formats.
... (0 Replies)
Hi,
I am using Red Hat 9.0 and it does not have the inbuilt driver module for my onboard lan card (RTL 8169). I downloaded the module (file - r8169-6.017.00.tar.bz2 and even r8169-6.015.00.tar.bz2), but when try to install it it says r8169.h , r8169_n.c , Makefile etc are... (2 Replies)
Discussion started by: dextergenious
2 Replies
LEARN ABOUT DEBIAN
log::log4perl::level
Level(3pm) User Contributed Perl Documentation Level(3pm)NAME
Log::Log4perl::Level - Predefined log levels
SYNOPSIS
use Log::Log4perl::Level;
print $ERROR, "
";
# -- or --
use Log::Log4perl qw(:levels);
print $ERROR, "
";
DESCRIPTION
"Log::Log4perl::Level" simply exports a predefined set of Log4perl log levels into the caller's name space. It is used internally by
"Log::Log4perl". The following scalars are defined:
$OFF
$FATAL
$ERROR
$WARN
$INFO
$DEBUG
$TRACE
$ALL
"Log::Log4perl" also exports these constants into the caller's namespace if you pull it in providing the ":levels" tag:
use Log::Log4perl qw(:levels);
This is the preferred way, there's usually no need to call "Log::Log4perl::Level" explicitely.
The numerical values assigned to these constants are purely virtual, only used by Log::Log4perl internally and can change at any time, so
please don't make any assumptions.
If the caller wants to import these constants into a different namespace, it can be provided with the "use" command:
use Log::Log4perl::Level qw(MyNameSpace);
After this $MyNameSpace::ERROR, $MyNameSpace::INFO etc. will be defined accordingly.
Numeric levels and Strings
Level variables like $DEBUG or $WARN have numeric values that are internal to Log4perl. Transform them to strings that can be used in a
Log4perl configuration file, use the c<to_level()> function provided by Log::Log4perl::Level:
use Log::Log4perl qw(:easy);
use Log::Log4perl::Level;
# prints "DEBUG"
print Log::Log4perl::Level::to_level( $DEBUG ), "
";
To perform the reverse transformation, which takes a string like "DEBUG" and converts it into a constant like $DEBUG, use the to_priority()
function:
use Log::Log4perl qw(:easy);
use Log::Log4perl::Level;
my $numval = Log::Log4perl::Level::to_priority( "DEBUG" );
after which $numval could be used where a numerical value is required:
Log::Log4perl->easy_init( $numval );
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 Level(3pm)