Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Win32::EventLog;
|
||||
my $handle = Win32::EventLog->new("Application");
|
||||
|
||||
my $event = {
|
||||
Computer => $ENV{COMPUTERNAME},
|
||||
Source => 'Rosettacode',
|
||||
EventType => EVENTLOG_INFORMATION_TYPE,
|
||||
Category => 'test',
|
||||
EventID => 0,
|
||||
Data => 'a test for rosettacode',
|
||||
Strings => 'a string test for rosettacode',
|
||||
};
|
||||
$handle->Report($event);
|
||||
Loading…
Add table
Add a link
Reference in a new issue