summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-11-06 13:46:38 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-11-06 13:46:38 +0100
commitbf296245bb71fd850f8339d0b83faf07e5376526 (patch)
tree485ceaf640d0906601ec8c59acf63383f0633fc9 /lib
parentc2d65350ac57c11672f44c26785b7b6832fce71c (diff)
debug moar
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm6
1 files changed, 5 insertions, 1 deletions
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} // [] };