From a84a29cee9427191096b1c4753843e79e200f8d9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 15 Jan 2014 11:04:37 +0100 Subject: Stations: Move DS100 match to separate method, use this for db-iris --- bin/db-iris | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/db-iris') diff --git a/bin/db-iris b/bin/db-iris index 8e5909a..506809e 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -93,8 +93,7 @@ my $status = Travel::Status::DE::IRIS->new( sub get_station { my ($input_name) = @_; - my @stations - = Travel::Status::DE::IRIS::Stations::get_station_by_name($input_name); + my @stations = Travel::Status::DE::IRIS::Stations::get_station($input_name); if ( @stations == 0 ) { say STDERR "No station matches '$input_name'"; -- cgit v1.2.3