Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Kwalitee and the prompt() methodby pokki (Monk) |
on Jan 01, 2011 at 14:03 UTC ( [id://879996]=perlquestion: print w/replies, xml ) | Need Help?? |
pokki has asked for the wisdom of the Perl Monks concerning the following question: Hello monks, This page on Kwalitee mentions the optional indicator "no_stdin_for_prompting": no_stdin_for_prompting This seems to suggest that there is One True prompt method to be used. Poking around on CPAN gives me IO::Prompt and Term::Prompt, both of which define a prompt(). Should I use one of these? Which is recommended? Can I implement my own prompt()? (Probably shouldn't.) If it's called something else, will kwalitee tests nag me for using <STDIN> in that method? Am I just nitpicking? A huge majority of distributions are complying to this, according to CPANTS -- maybe because most don't use STDIN anyway, directly or indirectly? (I have no actual use case to present. This is just me being curious.)
Back to
Seekers of Perl Wisdom
|
|