This is a bad idea; it makes non-interactive test runs impossible.
If you really need to prompt, do it during the configuration process with either ExtUtils::MakeMaker's prompt() function or Module::Build's prompt() or y_n() methods. They both work across platforms and don't require you to figure out all of that magic.
In reply to Re: prompt and timeout in tests
by chromatic
in thread prompt and timeout in tests
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |