$log = Win32::EventLog->new(source, [server]);
This function opens an event log and returns an object reference.
source specifies the name of the source
event, and server specifies the name of
the server (local is assumed if no server name is
given).
Many of the methods for this module require a reference to an empty
variable as an argument. This is how the return value of the method
will be placed, whether it is a hash or a scalar. The following
methods can be used on event log objects.