Skip Menu |

This queue is for tickets about the Log-Dispatch-Win32EventLog CPAN distribution.

Report information
The Basics
Id: 7020
Status: resolved
Priority: 0/
Queue: Log-Dispatch-Win32EventLog

People
Owner: Nobody in particular
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: 0.03_01



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).
CC: undisclosed-recipients: ;
From: Arthur Bergman <sky [...] nanisky.com>
Subject: Re: [cpan #7020] warnings in Perl 5.8
Date: Wed, 21 Jul 2004 04:52:11 +0200
To: bug-Log-Dispatch-Win32EventLog [...] rt.cpan.org
RT-Send-Cc:
D oyou want to take it over? I am no long using Win32 at all. Cheers Arthur ----- Infrastructure Manager @ Fotango Ltd +447834716919 http://www.fotango.com/ On 20 Jul 2004, at 09:16, Guest via RT wrote: Show quoted text
> > This message about Log-Dispatch-Win32EventLog was sent to you by guest > <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=7020 > > > 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).