summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-07 10:07:55 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-07 10:07:55 +0200
commit49013eed4f49a2c587d8a8f47290b7c654ed898f (patch)
treeb36557765c6993610d03020653ea9154794f595a /bin
parent26bd6e152eac77c2fb272a2fffba6c3ce1d0c156 (diff)
Don't use STDERR to display choices (it doesn't have binmode utf8)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index bf28342..8d525ab 100755
--- a/bin/efa
+++ b/bin/efa
@@ -93,10 +93,10 @@ $content = $www->content;
# ambiguous input
foreach (split(/<span class="errorTextBold">Bitte auswählen<\/span>/s, $content)) {
if (/<select name="(?<what>(place|type|name)_(origin|destination))"/) {
- print STDERR "Ambiguous input for $+{what}\n";
+ print "Ambiguous input for $+{what}\n";
}
while (/<option value="\d+(:\d+)*"( selected)?>(?<choice>[^<]+)<\/option>/gs) {
- print STDERR "\t$+{choice}\n";
+ print "\t$+{choice}\n";
}
}