From bf296245bb71fd850f8339d0b83faf07e5376526 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 Nov 2015 13:46:38 +0100 Subject: debug moar --- lib/Travel/Status/DE/IRIS.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index f1ac4a0..ff146d8 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -158,7 +158,11 @@ sub get_station { my $uic_code = $station_node->getAttribute('eva'); my $name = $station_node->getAttribute('name'); - my $sd100 = $station_node->getAttribute('ds100'); + my $ds100 = $station_node->getAttribute('ds100'); + + if ( $self->{developer_mode} ) { + printf( " -> %s (%s / %s)\n", $name, $uic_code, $ds100 ); + } if ( $self->{with_related} and $station_node->hasAttribute('meta') ) { my @recursion_blacklist = @{ $opt{recursion_blacklist} // [] }; -- cgit v1.2.3