debian man page for perl::critic::policy::inputoutput::prohibitinteractivetest

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)

NAME
Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest - Use prompt() instead of -t.
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
The "-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.
CONFIGURATION
This Policy is not configurable except for the standard options.
AUTHOR
Chris Dolan <cdolan@cpan.org>
COPYRIGHT
Copyright (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)
Related Man Pages
perl::critic::policy::inputoutput::prohibitexplicitstdin(3) - centos
perl::critic::policy::inputoutput::prohibitjoinedreadline(3) - centos
perl::critic::policy::inputoutput::prohibitjoinedreadline(3pm) - debian
perl::critic::policy::inputoutput::prohibitreadlineinforloop(3pm) - debian
perl::critic::policy::variables::requirenegativeindices(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections