in reply to Re^4: Scoping question - will file handle be closed? ("global")
in thread Scoping question - will file handle be closed?
Update: in your second example your variable is specifically of lexical scope, but there is an underlying global that gets assigned to $fh which doesn't go out of scope.
No, you are wrong. But you seem doggedly unable to learn on this point so I won't bother trying further to get you to.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Scoping question - will file handle be closed? ("global")
by anonymized user 468275 (Curate) on Jul 29, 2015 at 10:32 UTC | |
by Corion (Patriarch) on Jul 29, 2015 at 10:46 UTC | |
by tye (Sage) on Jul 29, 2015 at 14:27 UTC | |
by tye (Sage) on Jul 29, 2015 at 13:58 UTC |