You showed an example of how the use of braces forces Perl to try to interpret something as a file handle and to complain that $h is not a file handle (just not as clearly as it might).
That looks like evidence in support of the claimed "best practice".
- tye
In reply to Re^10: Split output by tabs (best practice?)
by tye
in thread Split output by tabs
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |