Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Re: mod_perl and lazy zombiesby andreychek (Parson) |
on Jun 07, 2001 at 20:09 UTC ( [id://86619]=note: print w/replies, xml ) | Need Help?? |
Heh.. well, don't feel bad, I can't say I found it on my first try either :-) As far as it being sloppy programming -- perhaps that is a bit strong of a word, but the guy who has to maintain your code when you are gone would most likely enjoy knowing when you are done using a particular file :-) Or even if you go to work on it later on, having that close statement would clearly state that you are finished with the filehandle, and might make your life a bit easier. But, as a Perl programmer, it's you're absolute right to code it that way if thats how you want to and you feel it makes you're life easier :-) -Eric
In Section
Seekers of Perl Wisdom
|
|