1 package LWES
::Listeners
::EventPrintingListener
;
7 @LWES::Listeners
::EventPrintingListener
::ISA
=
11 # possible contents of function
14 # if (defined ($args)) {
15 # my @ARGV = @{$args};
16 # use Getopt::Long to parse additional command line options
25 foreach my $key (keys %{$event})
27 $key_count++ if $key ne "EventType";
30 print ($event->{'EventType'}."[$key_count]\n{\n");
31 foreach my $key (sort(keys(%{$event})))
33 next if $key eq "EventType";
34 my $value = $event->{$key};
35 print("\t",$key," = ",$value,";\n");