Subject: | warnings in Perl 5.8 |
Changes in Perl 5.8 cause a lot of warnings when undefined values are passed to methods in Win32::EventLog. I ran into this a lot with Win32::EventLog::Carp and worked to fix it in 1.3 (See http://rt.cpan.org/NoAuth/Bug.html?id=5520).
For example, when posting one event to the log, we get several of these warnings: "Use of uninitialized value in subroutine entry at C:\Perl\site\lib/Win32/EventLog.pm line 199."
When posting an event, make sure the ComputerName is defined (I default it to Win32::NodeName).