in reply to Re: problems returning from recursive subroutine
in thread problems returning from recursive subroutine
Another, more important, reason is the same reason I always put the trailing comma in a list of stuff - what if I add more stuff?!? Then, the implicit close happens later, and that may not be good.
Of course, best, in my opinion, is to limit your exposure to connections like handles and $sth's to as small a block as possible, just in case.
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problems returning from recursive subroutine
by Abigail-II (Bishop) on Apr 18, 2003 at 13:32 UTC | |
by dragonchild (Archbishop) on Apr 18, 2003 at 15:07 UTC | |
by Abigail-II (Bishop) on Apr 18, 2003 at 15:33 UTC | |
by BrowserUk (Patriarch) on Apr 18, 2003 at 15:38 UTC | |
by Aristotle (Chancellor) on Apr 18, 2003 at 15:19 UTC |