diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-07 10:07:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-07 10:07:55 +0200 |
commit | 49013eed4f49a2c587d8a8f47290b7c654ed898f (patch) | |
tree | b36557765c6993610d03020653ea9154794f595a | |
parent | 26bd6e152eac77c2fb272a2fffba6c3ce1d0c156 (diff) |
Don't use STDERR to display choices (it doesn't have binmode utf8)
-rwxr-xr-x | bin/efa | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; } } |