X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=svc%2Fbib_profile;h=46ebe379635d933d30fdf01a249d874c8fc27660;hb=f41f272ff087d65ed11d760e6c7c58818c3a24d4;hp=0c1bc8e41bf02dcc301036d3123ec559f1a20747;hpb=8d5b4306e07a594cd102fcce85f912ab3a5661e9;p=koha-ffzg.git diff --git a/svc/bib_profile b/svc/bib_profile index 0c1bc8e41b..46ebe37963 100755 --- a/svc/bib_profile +++ b/svc/bib_profile @@ -18,8 +18,7 @@ # along with Koha; if not, see . # -use strict; -use warnings; +use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth qw/check_api_auth/; @@ -28,7 +27,7 @@ use C4::Koha; use Koha::ItemTypes; use XML::Simple; -my $query = new CGI; +my $query = CGI->new; my ($status, $cookie, $sessionID) = check_api_auth($query, { editcatalogue => 'edit_catalogue'} );