diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-28 15:49:11 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-28 15:49:11 +0200 |
commit | 7f49411f87ec0533a261ce875967f7f9a22b8777 (patch) | |
tree | be8b17e31593afc57903508a83e69727ccd579d0 /lib | |
parent | 843388f82ba323965e1bff926d785a60d45f5590 (diff) |
add --devmode option
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/EFA.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 4789ccc..0143cb6 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -104,6 +104,7 @@ sub new { useProxFootSearch => '0', useRealtime => '1', }, + developer_mode => $opt{developer_mode}, }; bless( $self, $class ); @@ -123,7 +124,9 @@ sub new { string => $self->{xml}, ); - #say $self->{tree}->toString(1); + if ( $self->{developer_mode} ) { + say $self->{tree}->toString(1); + } $self->check_for_ambiguous(); |