use Modern::Perl;
use CGI qw ( -utf8 );
-use Encode qw( encode );
-use Carp;
-use Try::Tiny;
-
-use C4::Auth;
-use C4::Biblio;
-use C4::Items;
-use C4::Output;
+use Encode;
+use Carp qw( carp );
+use Try::Tiny qw( catch try );
+
+use C4::Auth qw( get_template_and_user );
+use C4::Biblio qw(
+ GetBiblioData
+ GetMarcAuthors
+ GetMarcBiblio
+ GetMarcISBN
+ GetMarcSubjects
+);
+use C4::Items qw( GetItemsInfo );
+use C4::Output qw( output_html_with_http_headers );
use Koha::Email;
use Koha::Virtualshelves;