This style is recommended in Perl Best Practices, Chapter 10 (I/O), p. 217, Printing to Filehandles: "Always put filehandles in braces within any print statement".
The idea is that putting braces around the filehandle helps it stand out clearly and clarifies your intentions in that you really did intend it to be treated as a filehandle and didn't just forget a comma.
In reply to Re: curly braces around a lexical file handle
by eyepopslikeamosquito
in thread curly braces around a lexical file handle
by rastoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |