Removed indirect object syntax from PgLogParser.pm

This commit is contained in:
Brian Fraser
2011-12-23 00:34:47 -03:00
parent 017f95e532
commit 7e4b1def6a

View File

@@ -615,7 +615,7 @@ sub generate_wrappers {
if ( ($self->{sanity} || '') ne "$args{next_event}" ){ if ( ($self->{sanity} || '') ne "$args{next_event}" ){
MKDEBUG && _d("Clearing and recreating internal state"); MKDEBUG && _d("Clearing and recreating internal state");
eval { require SysLogParser; }; # Required for tests to work. eval { require SysLogParser; }; # Required for tests to work.
my $sl = new SysLogParser(); my $sl = SysLogParser->new();
# We need a special item in %args for syslog parsing. (This might not be # We need a special item in %args for syslog parsing. (This might not be
# a syslog log file...) See the test for t/samples/pg-syslog-002.txt for # a syslog log file...) See the test for t/samples/pg-syslog-002.txt for