summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-28 08:46:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-28 08:46:30 +0200
commitf9fa576b785d8640f36a2cdc79ef685ca8336be5 (patch)
treee99889481257e0cb96368b395c258caf9486a17c /bin/efa
parentdb6e031170896bd100c94e2ec50905e56a4da167 (diff)
bin/efa: Actually use Travel::Routing, not Net::Travel...
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index 03be6b9..82ba7e3 100755
--- a/bin/efa
+++ b/bin/efa
@@ -6,7 +6,7 @@ use strict;
use warnings;
use 5.010;
-use Net::Travel::DE::VRR;
+use Travel::Routing::DE::VRR;
use Getopt::Long qw/:config no_ignore_case/;
our $VERSION = '1.3';
@@ -80,7 +80,7 @@ if ( defined $opt->{'ignore-info'} and length( $opt->{'ignore-info'} ) == 0 ) {
$opt->{'ignore-info'} = undef;
}
-$efa = Net::Travel::DE::VRR->new(
+$efa = Travel::Routing::DE::VRR->new(
origin => [ @from, $from_type ],
destination => [ @to, $to_type ],
via => ( @via ? [ @via, $via_type ] : undef ),