diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-16 15:48:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-16 15:48:35 +0200 |
commit | 7cbb9bb1284f09a9c55bb42785cc21f37900d3e0 (patch) | |
tree | 15d21114df0bb268ddbcf479d042246f5c2885bd /bin/efa | |
parent | eb8d1170197b7146b20035e73fdd4c10ee3e9991 (diff) |
efa: parse_content: Print skipped infos in debug mode
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -58,7 +58,8 @@ sub parse_content($) { # If the first field is not a time we've got some additional information. # Sadly, this script does not parse it yet, so it's ignored until ($raw->[$offer]->[$offset] =~ /^\d+:\d+$/) { - last unless exists($raw->[$offer]->[++$offset]); + printf("# lost information: %s\n", $raw->[$offer]->[$offset]) if ($debug); + last unless (exists($raw->[$offer]->[++$offset])); } $return->[$offer]->[$i] = { deptime => $raw->[$offer]->[$offset], |