Bug 17600: Standardize our EXPORT_OK
[koha-ffzg.git] / misc / cronjobs / patron_emailer.pl
index 67a33de..a265b76 100755 (executable)
@@ -21,16 +21,16 @@ use Modern::Perl;
 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();