in reply to Re^4: File open problem with "GLOB"
in thread File open problem with "GLOB"
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: File open problem with "GLOB"
by ikegami (Patriarch) on Mar 16, 2008 at 07:14 UTC |