BEGIN {
# find Koha's Perl modules
# test carefully before changing this
- use FindBin;
+ use FindBin ();
eval { require "$FindBin::Bin/../kohalib.pl" };
}
use Koha::Script -cron;
-use Getopt::Long;
-use Pod::Usage;
+use Getopt::Long qw( GetOptions );
+use Pod::Usage qw( pod2usage );
-use C4::Log;
-use C4::Reports::Guided;
+use C4::Log qw( cronlogaction );
+use C4::Reports::Guided qw( EmailReport );
cronlogaction();