Sure, and there's no need to use strict or warnings if you don't ever make any typos.
I put the curlies around the filehandle even in the simple case, because once I get out of the habit, I'll spend way too long debugging a filehandle in a complex expression that, for some baffling reason, refuses to work... and I know why the Perl 5 parser has a problem here. If that trips me up, I suspect it may also trip up the fair few Perl 5 programmers who haven't read the Perl 5 source code.
In reply to Re^5: File open problem with "GLOB"
by chromatic
in thread File open problem with "GLOB"
by mcoblentz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |