Help for this page

Select Code to Download


  1. or download this
    $log = new Win32::EventLog("Application") 
    $Win32::EventLog::GetMessageText = 1;
    
  2. or download this
    while ($log->Read((EVENTLOG_SEQUENTIAL_READ|EVENTLOG_FORWARDS_READ), 
    1,$entry)){
    ...
    print $entry->{Message};
    ...
    }