use Modern::Perl;
-use Getopt::Long;
-use Pod::Usage;
-use Try::Tiny;
+use Getopt::Long qw( GetOptions );
+use Pod::Usage qw( pod2usage );
+use Try::Tiny qw( catch try );
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 C4::Log;
+use C4::Log qw( cronlogaction );
use Koha::Account::Lines;
use Koha::Patrons;