in reply to Re^2: Win32::EventLog's clear method without filename.
in thread Win32::EventLog's clear method without filename.
$Event->Clear(), did you try 'C:\nul'? or some other path that you have write access to, terminating in a file that is not a file, called nul? Puzzled why that didn't work. If you just have 'nul', that would be the directory that the Perl is executing in or maybe the directory that it was launched from. Well in any event, you got a solution. Horray! nul is the right path under Windows for the bit bucket. I'm sure. Flabbergasted why it didn't work for you.