From b8fd2abe65a1ff299307e06d576ae3b9cc5b8af2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 18 Jan 2014 22:22:25 +0100 Subject: add efa-url support to efa script --- lib/Travel/Routing/DE/EFA.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm index 2da6e2e..9ccf2ff 100644 --- a/lib/Travel/Routing/DE/EFA.pm +++ b/lib/Travel/Routing/DE/EFA.pm @@ -392,7 +392,7 @@ sub new { bless( $ref, $obj ); - if (not $ref->{config}->{efa_url}) { + if ( not $ref->{config}->{efa_url} ) { Travel::Routing::DE::EFA::Exception::Setup->throw( option => 'efa_url', error => 'must be set' @@ -426,8 +426,8 @@ sub submit { $self->{ua} = LWP::UserAgent->new(%conf); $self->{ua}->env_proxy; - my $response = $self->{ua} - ->post( $self->{config}->{efa_url}, $self->{post} ); + my $response + = $self->{ua}->post( $self->{config}->{efa_url}, $self->{post} ); if ( $response->is_error ) { Travel::Routing::DE::EFA::Exception::Net->throw( @@ -737,11 +737,11 @@ Known URLs are: =over -=item * L (Verkehrsverbund GroEraum NErnberg) +=item * L (Verkehrsverbund GroEraum NErnberg) -=item * L (Verkehrsverbund Rhein-Ruhr) +=item * L (Verkehrsverbund Rhein-Ruhr) -=item * L (Verkehrsverbund Stuttgart) +=item * L (Verkehrsverbund Stuttgart) =back -- cgit v1.2.3