summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e4513e)
raw | patch | inline | side by side (parent: 2e4513e)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 28 Mar 2010 00:01:24 +0000 (00:01 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 28 Mar 2010 00:01:24 +0000 (00:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17326 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/logHandling.pm | patch | blob | history |
index 9fdce81d0e9d4fed943963a002573263cc891ac4..42af112bc225f540ebde56dfb24a82ea46b76b1b 100644 (file)
package logHandling;
+
+
+use strict;
+use warnings;
+
use Exporter;
+use GOSA::GosaSupportDaemon;
+use Data::Dumper;
+use File::Spec;
+use MIME::Base64;
+
@ISA = qw(Exporter);
my @events = (
"get_events",
);
@EXPORT = @events;
-use strict;
-use warnings;
-use GOSA::GosaSupportDaemon;
-use Data::Dumper;
-use File::Spec;
-use MIME::Base64;
-
BEGIN {}
END {}
# read log file
my $log_content;
- open(FILE, "<$act_log_file");
- my @log_lines = <FILE>;
- close(FILE);
+ open(my $FILE, "<", "$act_log_file");
+ my @log_lines = <$FILE>;
+ close($FILE);
# prepare content for xml sending
$log_content = join("", @log_lines);