From c2cd510d601b419c73001980b8a65ebea0f70046 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 25 Feb 2024 09:21:02 +0100 Subject: get_station: push refs one-by-one (otherwise the condition would be useless) --- lib/Travel/Status/DE/IRIS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 8649f1b..c059411 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -554,7 +554,7 @@ sub get_station { for my $ref (@refs) { if ( none { $_ == $ref } @seen and none { $_ == $ref } @queue ) { - push( @queue, @refs ); + push( @queue, $ref ); } } $opt{root} = 0; -- cgit v1.2.3