diff --git a/Changelog b/Changelog index 5afd69ab1888a3bee1dae96dbf2e1cbbb25f94d8..913de83937fa8a0f3e9f8d068f73c734e1c775f5 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,8 @@ -Travel::RoutinG::DE::VRR 2.02 - Wed Apr 10 2013 +Travel::Routing::DE::VRR 2.03 - Thu Jul 4 2013 + + * Disable smartmatch warnings on perl >= 5.018 + +Travel::Routing::DE::VRR 2.02 - Wed Apr 10 2013 * Patch by Roland Hieber: respect proxy environment variables diff --git a/bin/efa b/bin/efa index db8f79f0dbb2bff04e6d684d0d110b08c01abb71..583a48c26811c5ab8d14697ce487187af578728e 100755 --- a/bin/efa +++ b/bin/efa @@ -6,13 +6,15 @@ use strict; use warnings; use 5.010; +no if $] >= 5.018, warnings => "experimental::smartmatch"; + use utf8; use Travel::Routing::DE::VRR; use Exception::Class; use Getopt::Long qw/:config no_ignore_case/; -our $VERSION = '2.02'; +our $VERSION = '2.03'; my $ignore_info = 'Fahrradmitnahme'; my $efa; my ( @from, @to, @via, $from_type, $to_type, $via_type ); @@ -259,7 +261,7 @@ efa - unofficial efa.vrr.de command line client =head1 VERSION -version 2.02 +version 2.03 =head1 DESCRIPTION diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index a88c9d658ff6e30b07d87ff3cb587cb8374c3cfd..29a30b3d9e5a7e5d7b42a202b854daa280e8cdde 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -4,6 +4,8 @@ use strict; use warnings; use 5.010; +no if $] >= 5.018, warnings => "experimental::smartmatch"; + use Carp qw(cluck); use Encode qw(decode); use Travel::Routing::DE::VRR::Route; @@ -37,7 +39,7 @@ use Exception::Class ( }, ); -our $VERSION = '2.02'; +our $VERSION = '2.03'; sub set_time { my ( $self, %conf ) = @_; @@ -684,7 +686,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera =head1 VERSION -version 2.02 +version 2.03 =head1 DESCRIPTION diff --git a/lib/Travel/Routing/DE/VRR/Route.pm b/lib/Travel/Routing/DE/VRR/Route.pm index dc64eab70c0980ba00e7a448e3dda2d502bef839..9f110db5d215e5f1d33b3356f48d742ea9b924bd 100644 --- a/lib/Travel/Routing/DE/VRR/Route.pm +++ b/lib/Travel/Routing/DE/VRR/Route.pm @@ -8,7 +8,7 @@ use parent 'Class::Accessor'; use Travel::Routing::DE::VRR::Route::Part; -our $VERSION = '2.02'; +our $VERSION = '2.03'; Travel::Routing::DE::VRR::Route->mk_ro_accessors( qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time)); @@ -52,7 +52,7 @@ Travel::Routing::DE::VRR::Route - Single route (connection) between two points =head1 VERSION -version 2.02 +version 2.03 =head1 DESCRIPTION diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm index 7397b82c4d3b552a3e2e42376a3312276aa7bf9e..8d50322f3a91aca4420d50dcfb23cc774810301f 100644 --- a/lib/Travel/Routing/DE/VRR/Route/Part.pm +++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm @@ -6,7 +6,7 @@ use 5.010; use parent 'Class::Accessor'; -our $VERSION = '2.02'; +our $VERSION = '2.03'; Travel::Routing::DE::VRR::Route::Part->mk_ro_accessors( qw(arrival_platform arrival_stop @@ -86,7 +86,7 @@ points, without interchanges =head1 VERSION -version 2.02 +version 2.03 =head1 DESCRIPTION