X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FSafeSyslog.pm;fp=src%2FPVE%2FSafeSyslog.pm;h=c61e97ae9465edfcbb19b1394a0e1430b111bf92;hp=63b37f84ba8120468b2c56e1b284b0ab3c981c19;hb=0681aa71573c756ac8d7912e6d8c923864d77acf;hpb=f4f3bd98ae46f83423190f4343178d4512a90f74 diff --git a/src/PVE/SafeSyslog.pm b/src/PVE/SafeSyslog.pm index 63b37f8..c61e97a 100644 --- a/src/PVE/SafeSyslog.pm +++ b/src/PVE/SafeSyslog.pm @@ -5,16 +5,12 @@ use warnings; use File::Basename; use Sys::Syslog (); use Encode; +use base 'Exporter'; -use vars qw($VERSION @ISA @EXPORT); +our $VERSION = '1.00'; -$VERSION = '1.00'; -require Exporter; - -@ISA = qw(Exporter); - -@EXPORT = qw(syslog initlog); +our @EXPORT = qw(syslog initlog); my $log_tag = "unknown";