Skip to content

Commit 02e9e47

Browse files
author
Ian Walls
committed
Perl 5.40 compatibility update
Perl 5.40 does not like it when you try to import specific methods that have not been explicitly exported from the module. Since we're already using fully-qualified methods in the code, we don't really need to include the specific methods after the use statements.
1 parent 193e525 commit 02e9e47

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

lib/Libki/Controller/API/Client/v1_0.pm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ use namespace::autoclean;
55

66
BEGIN { extends 'Catalyst::Controller'; }
77

8-
use Libki::SIP qw( authenticate_via_sip );
9-
use Libki::LDAP qw( authenticate_via_ldap );
10-
use Libki::Hours qw( minutes_until_closing );
11-
use Libki::Utils::Printing qw( create_print_job_and_file );
12-
use Libki::Utils::User qw( create_guest );
13-
use Libki::Clients qw( get_wol_mac_addresses );
8+
use Libki::SIP;
9+
use Libki::LDAP;
10+
use Libki::Hours;
11+
use Libki::Utils::Printing;
12+
use Libki::Utils::User;
13+
use Libki::Clients;
1414

1515
use DateTime::Format::MySQL;
1616
use DateTime;

lib/Libki/Controller/API/PrintStation/v1_0.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use Image::Magick::Thumbnail::PDF qw(create_thumbnail);
77
use JSON;
88
use List::Util qw(none);
99
use File::Temp qw(tempfile tempdir);
10-
use Libki::Utils::Printing qw(calculate_job_cost);
10+
use Libki::Utils::Printing;
1111

1212
BEGIN { extends 'Catalyst::Controller'; }
1313

lib/Libki/Controller/API/Public.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Libki::Controller::API::Public;
33
use Moose;
44
use namespace::autoclean;
55

6-
use Libki::Auth qw(authenticate_user);
6+
use Libki::Auth;
77

88
BEGIN { extends 'Catalyst::Controller'; }
99

lib/Libki/Controller/Administration/API/Client.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use namespace::autoclean;
44

55
use DateTime::Format::MySQL;
66

7-
use Libki::Clients qw( wakeonlan );
7+
use Libki::Clients;
88

99
use JSON qw(to_json);
1010

lib/Libki/Controller/Public/API/DataTables.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Libki::Controller::Public::API::DataTables;
33
use Moose;
44
use namespace::autoclean;
55

6-
use Libki::Utils::Printing qw(calculate_job_cost);
6+
use Libki::Utils::Printing;
77

88
use JSON qw(to_json);
99

lib/Libki/Controller/Public/API/User.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Libki::Controller::Public::API::User;
33
use Moose;
44
use namespace::autoclean;
55

6-
use Libki::Utils::Printing qw(calculate_job_cost);
6+
use Libki::Utils::Printing;
77

88
BEGIN { extends 'Catalyst::Controller'; }
99

0 commit comments

Comments
 (0)