On the issue of prompting under test conditions:
If you use ExtUtils::MakeMaker to build your module you can import "prompt" http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.48/lib/ExtUtils/MakeMaker.pm#Other_Handy_Functions:
use ExtUtils::MakeMaker 5.16, qw(prompt);
and as far as I am aware the prompt returns the default if no stdin or running in an automated system - like smoking.
In reply to Re: Interactivity in tests - done correctly?
by mje
in thread Interactivity in tests - done correctly?
by tirwhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |