diff options
author | dakkar <dakkar@thenautilus.net> | 2020-03-21 17:26:13 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2020-03-21 17:26:13 +0000 |
commit | d2866034f35b15db2bb5c8520c8b632fb5b4c2d0 (patch) | |
tree | 48da3d7236b3b13d092291fea5e9a635f340588a /lib/WebService/TFL | |
parent | tweaks to run on the new machine (diff) | |
download | HomePanel-d2866034f35b15db2bb5c8520c8b632fb5b4c2d0.tar.gz HomePanel-d2866034f35b15db2bb5c8520c8b632fb5b4c2d0.tar.bz2 HomePanel-d2866034f35b15db2bb5c8520c8b632fb5b4c2d0.zip |
remove compilation problems with newer perl+libs
Diffstat (limited to 'lib/WebService/TFL')
-rw-r--r-- | lib/WebService/TFL/Bus.pm | 2 | ||||
-rw-r--r-- | lib/WebService/TFL/Bus/Response.pm | 2 | ||||
-rw-r--r-- | lib/WebService/TFL/TubeStatus.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/WebService/TFL/Bus.pm b/lib/WebService/TFL/Bus.pm index 6352a5d..3559755 100644 --- a/lib/WebService/TFL/Bus.pm +++ b/lib/WebService/TFL/Bus.pm @@ -2,7 +2,7 @@ package WebService::TFL::Bus; use Moo; use namespace::autoclean; use Types::URI 'Uri'; -use Type::Utils -all; +use Type::Utils 'duck_type'; use WebService::TFL::Bus::Response; has user_agent => ( diff --git a/lib/WebService/TFL/Bus/Response.pm b/lib/WebService/TFL/Bus/Response.pm index 4251228..e05d49d 100644 --- a/lib/WebService/TFL/Bus/Response.pm +++ b/lib/WebService/TFL/Bus/Response.pm @@ -1,7 +1,7 @@ package WebService::TFL::Bus::Response; use Moo; use Class::Load 'load_class'; -use Type::Utils -all; +use Type::Utils 'class_type'; use Types::Standard -all; use JSON; use namespace::autoclean; diff --git a/lib/WebService/TFL/TubeStatus.pm b/lib/WebService/TFL/TubeStatus.pm index 3b69997..b0ba260 100644 --- a/lib/WebService/TFL/TubeStatus.pm +++ b/lib/WebService/TFL/TubeStatus.pm @@ -1,6 +1,6 @@ package WebService::TFL::TubeStatus; use Moo; -use Type::Utils -all; +use Type::Utils 'duck_type'; use Types::URI 'Uri'; use XML::LibXML; use XML::LibXML::XPathContext; |