Query: perl::critic::policy::inputoutput::prohibitinteractivetest
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Perl::Critic::Policy::InputOutput::ProhibitInteractiveTeUserpContributed Perl DocumPerl::Critic::Policy::InputOutput::ProhibitInteractiveTest(3pm)NAMEPerl::Critic::Policy::InputOutput::ProhibitInteractiveTest - Use prompt() instead of -t.AFFILIATIONThis Policy is part of the core Perl::Critic distribution.DESCRIPTIONThe "-t" operator is fragile and complicated. When you are testing whether "STDIN" is interactive, It's much more robust to use well- tested CPAN modules like IO::Interactive.CONFIGURATIONThis Policy is not configurable except for the standard options.AUTHORChris Dolan <cdolan@cpan.org>COPYRIGHTCopyright (c) 2006-2011 Chris Dolan. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-07 Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest(3pm)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Introduction |
New UNIX and Linux History Sections |