NAME Win32::EventLog::Carp - for carping in the Windows NT Event Log REQUIREMENTS Carp Win32::EventLog Installation Installation is pretty standard: perl Makefile.PL nmake nmake test nmake install If you have Module::Build installed, you can use the following: perl Build.PL perl Build perl Build test perl Build install SYNOPSIS use Win32::EventLog::Carp; croak "We're outta here!"; use Win32::EventLog::Carp qw(cluck); cluck "This is how we got here!"; DESCRIPTION `Win32::EventLog::Carp' traps warnings and fatal errors in Perl and reports these errors in the Windows NT Event Log. This is useful for scripts which run as services or through the scheduler, and for CGI/ISAPI scripts. The interface is similar to `Carp': the `carp', `croak' and `confess' functions are exported (with `cluck' being optional). You need only change references of "Carp" to "Win32::EventLog::Carp" to begin using this module. A more detailed description can be found in the module's POD docu- mentation. REVISION HISTORY Changes since Win32::EventLog::Carp v1.21. (Note: potential incompatabilities are marked with '*'.) 1.31 Fri Jun 4 2004 - LogEvals can now be set outside of the module - fixed bug with LogEvals being ignored if another function is hooked onto __DIE__ signal (RT#6508) - rewrote tests to test writing every function, and to read the events back 1.30 Thu June 3 2004 - added tests - fixed issue with uninitialized values (RT#5408). - added Build.PL as alternative to Makefile.PL - added META.yml to distribution * source registration disabled by default; must be enabled in import - renamed global variables with initial caps - added note in POD about Windows 2003/IIS security policy - added require for Carp::Heavy because of longmess_heavy and shortmess_heavy routines - added note in POD about warnings from Win32::EventLog A detailed revision history is in the Changes file included with this distribution. AUTHOR Robert Rothenberg LICENSE Copyright (c) 2000-2004 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.