diff options
-rw-r--r-- | README.md | 17 | ||||
-rw-r--r-- | lib/Travel/Routing/DE/EFA.pm | 7 |
2 files changed, 11 insertions, 13 deletions
@@ -16,7 +16,7 @@ as well as the Perl module. If you are using another distribution or would prefer a more recent version, you have four installation options: -* Nightly `.deb` builds for Debian-based distributions +* `.deb` releases for Debian-based distributions * Installing the latest release from CPAN * Installation from source * Using a Docker image @@ -25,12 +25,11 @@ Except for Docker, **efa** is available in your PATH after installation. You can run `efa --version` to verify this. Documentation is available via `man efa`. -### Nightly Builds for Debian +### Release Builds for Debian [lib.finalrewind.org/deb](https://lib.finalrewind.org/deb) provides Debian -packages of both development and release versions. Note that these are not part -of the official Debian repository and are not covered by its quality assurance -process. +packages of all release versions. Note that these are not part of the official +Debian repository and are not covered by its quality assurance process. To install the latest release, run: @@ -40,14 +39,6 @@ sudo apt install ./libtravel-routing-de-vrr-perl_latest_all.deb rm libtravel-routing-de-vrr-perl_latest_all.deb ``` -For a (possibly broken) development snapshot of the Git master branch, run: - -``` -wget https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_dev_all.deb -sudo apt install ./libtravel-routing-de-vrr-perl_dev_all.deb -rm libtravel-routing-de-vrr-perl_dev_all.deb -``` - Uninstallation works as usual: ``` diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm index 80bfb68..35c289b 100644 --- a/lib/Travel/Routing/DE/EFA.pm +++ b/lib/Travel/Routing/DE/EFA.pm @@ -508,6 +508,13 @@ sub submit { $self->{ua} = LWP::UserAgent->new(%conf); $self->{ua}->env_proxy; + if ( $self->{config}{developer_mode} ) { + say 'POST ' . $self->{config}{efa_url}; + while ( my ( $key, $value ) = each %{ $self->{post} } ) { + printf( "%30s = %s\n", $key, $value ); + } + } + my $response = $self->{ua}->post( $self->{config}->{efa_url}, $self->{post} ); |