If you pass a file handle to print, the default assumption is that you want to print to the file handle. Adding curlies doesn't change anything.
The reasoning you posted only makes sense if one assumes the file handle is badly named. The fix for a bad variable name is not to add silly curlies to print, it's to change the variable's name.
In reply to Re^2: curly braces around a lexical file handle
by ikegami
in thread curly braces around a lexical file handle
by rastoboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |