]> mj.ucw.cz Git - libucw.git/blobdiff - lib/perl/Log.pm
simplified usage of Log & Die
[libucw.git] / lib / perl / Log.pm
index 68b1d3724cb181c70623088c5776e117b67d2e6b..7c4f3a10a81f9077d90e74618c139026ce58b823 100644 (file)
@@ -10,6 +10,13 @@ use lib 'lib/perl5';
 use strict;
 use warnings;
 use POSIX;
+use Exporter;
+
+our $version = 1.0;
+our @ISA = qw(Exporter);
+our @EXPORT = ();
+our %EXPORT_TAGS = ( all => [qw(&Log &Die)]);
+our @EXPORT_OK = (@{$EXPORT_TAGS{'all'}});
 
 my $Prog = (reverse split(/\//, $0))[0];