Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest3pm
Use prompt() instead of -t.
Affiliation
This Policy is part of the core Perl::Critic distribution.
Overview
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.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 9 times.