Bug 17600: Standardize our EXPORT_OK
[srvgit] / opac / opac-browser.pl
index 64abf21..aad5940 100755 (executable)
@@ -24,17 +24,14 @@ TODO :: Description here
 
 =cut
 
-use strict;
-use warnings;
+use Modern::Perl;
 
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 use CGI qw ( -utf8 );
-use C4::Biblio;
-use C4::Koha;       # use getitemtypeinfo
 
-my $query = new CGI;
+my $query = CGI->new;
 
 my $dbh = C4::Context->dbh;
 
@@ -45,7 +42,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         query           => $query,
         type            => "opac",
         authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
-        debug           => 1,
     }
 );