in reply to IO::Prompter on Windows
I would guess that the most likely candidate is unix-centric newline handling of the input as read from the console. Depending on how it works on Windows resp. how Windows Perl treats stuff read from STDIN, you might end up with \r\n in your input. A (very) cursory glance at the source code of IO::Prompter only reveals \n newline treatment.
If you can fake input to IO::Prompter, or inspect the value of $_ for the -must callback, maybe you find some whitespace at the end of the (supposed) filename...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IO::Prompter on Windows
by Brutha (Friar) on Nov 05, 2013 at 09:14 UTC |