Search results for "module:Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest"

Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest - Use prompt() instead of -t. River stage three • 131 direct dependents • 386 total dependents

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....

PETDANCE/Perl-Critic-1.144 - 06 Dec 2022 04:59:59 UTC
1 result (0.065 seconds)