summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-28 19:50:59 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-28 19:50:59 +0200
commit4f59ed0db3d0f47d5e8dca19a9ba3809ef755094 (patch)
tree2462c8fda931b7e3965ca37a0e77462a703fd38d /lib/Travel/Routing/DE
parent5279c129209053024c8b7f8366254d80af5ccbc5 (diff)
add --devmode switch
Diffstat (limited to 'lib/Travel/Routing/DE')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index fefc2bd..24ee7e1 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -659,7 +659,9 @@ sub parse_xml {
string => $self->{xml_reply},
);
- #say $tree->toString(2);
+ if ( $self->{config}->{developer_mode} ) {
+ say $tree->toString(2);
+ }
my $xp_element = XML::LibXML::XPathExpression->new(
'//itdItinerary/itdRouteList/itdRoute');