|laziness, impatience, and hubris|
IO::Prompter on Windowsby Brutha (Friar)
|on Nov 05, 2013 at 08:51 UTC||Need Help??|
Brutha has asked for the
wisdom of the Perl Monks concerning the following question:
When I found the module IO::Prompter I just went wow on the features. Great work.
As already others said and open bugs tell, this is not working completely under Windows, but still is usefull. What seems to work for me with version 0.004010 is:
So this is quite a lot to make it usefull, even if I just did only quick testing.
What did not work are some editing features (to be expected under windows), but more disappointing were some constraints failures. The -guarantee works until you press return and always get "invalid input":my $animal = prompt -guarantee=>['cat','dog','cow'];
Also the '-must' constraints always seem to fail, e.g.:
after completion always gives "File must exist". So I tried debugging, but failed as the keyboard is turned off on verifying constraints.
Anybody has some hints how I could continue?
Oh, I use x86 ActivePerl 5.14 on Windows7 64-bit with use 5.014; and Term::ReadKey installed
And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"