exodist / Term-Table

Format a header and rows into a table
Other
6 stars 9 forks source link

Be explicit about bareword filehandles: #11

Closed xsawyerx closed 2 years ago

xsawyerx commented 2 years ago

While using STDOUT is understood by the Perl interpreter as a clear filehandle, it isn't understood as such by any code that tries to parse the same function calls, like Test::MockFile that overrides open but the prototypes used cannot really mimick the perl parsing.

Using *STDOUT is understood by both perl and any code that uses overrides open.