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...
In reply to Re^2: Implicit closing of files
by rovf
in thread Implicit closing of files
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |