in reply to Re: Win32::EventLog's clear method without filename.
in thread Win32::EventLog's clear method without filename.

Thanks a lot dasagar, im using that work around now, script is running fine :).

Marahal, I tried what you recommended, "nul", "NUL", "NULL" and "null" - none of them work(That would be a nice solution though)

  • Comment on Re^2: Win32::EventLog's clear method without filename.

Replies are listed 'Best First'.
Re^3: Win32::EventLog's clear method without filename.
by Marshall (Canon) on Dec 24, 2010 at 12:14 UTC
    $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.