Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by dannyd (Sexton)
on Dec 24, 2010 at 08:30 UTC ( [id://878999]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://878999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found