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

Perl::Critic::Policy::InputOutput::RequireBracedFileHandleWithPrint - Write print {$FH} $foo, $bar; instead of print $FH $foo, $bar;. River stage three • 131 direct dependents • 386 total dependents

The "print" and "printf" functions have a unique syntax that supports an optional file handle argument. Conway suggests wrapping this argument in braces to make it visually stand out from the other arguments. When you put braces around any of the spe...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
1 result (0.09 seconds)