in reply to Re: Implicit closing of files
in thread Implicit closing of files
The code you supply does not compile, the asterisk is in the wrong place, should be local *HANDLE;.Oops, you are right.
With local (rather than my) the value goes out of scope, not the variable which remains a global.Does this mean that this variable would stay in the symbol table of the package, although there is no way that it can be "re-activated" later on?
Nevertheless, Perl should still flush the buffer on close.I guess you mean: should still flush the buffer on block exit, since the whole point here is that we do not do an explicit close...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Implicit closing of files
by cdarke (Prior) on Jun 17, 2008 at 16:26 UTC | |
by rovf (Priest) on Jun 18, 2008 at 08:15 UTC |