Hi Adam,
Show quoted text> I threw it on a linux VM I have laying around and it appears to work
> great! My main dev is on Wintel using ActiveState (sad I know, right)
> and I'm not sure how to install from source on there.
That should be esay!
1. open a dos box or any other shell
2. start a cpan shell
perl -MCPAN -eshell
3. if the cpan shell is startet, install the new package
Show quoted textcpan> install BLOONIX/Log-Handler-0.55_01.tar.gz
If the package is not available you can try to install it from source:
Download Log-Handler-0.55_01.tar.gz from CPAN.
Unpack it and change the directory to Log-Handler-0.55_01.
perl.exe Makefile.PL
nmake
nmake test
nmake install
Note that you need to install nmake15.exe for Windows if you want to
install Perl-Modules from source. Look here:
http://support.microsoft.com/kb/132084/en-us
Show quoted text> Otherwise this is awesome: I have a custom wrapper that I use around
> Log::Handler to quickly generate logger objects with standard
> formatting/etc and it makes logging quite pleasant!
A hint for you: do not create a lot of handler objects like
$l1 = Log::Handler->new;
$l1->add(file => $opts);
$l2 = Log::Handler->new;
$l2->add(file => $opts);
$l3 = Log::Handler->new;
$l3->add(file => $opts);
It's comfortable to add all outputs to one object:
$log = Log::Handler->new;
$log->add( file => $opts1 );
$log->add( file => $opts2 );
$log->add( file => $opts3 );
Cheers and a nice weekend,
Jonny