good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: die command while other files are openedby hippo (Bishop) |
on Dec 05, 2015 at 10:21 UTC ( [id://1149459]=note: print w/replies, xml ) | Need Help?? |
I probably miss easier solutions to deal with log file writing, and I am eager to learn any good habit to make my code better. Your specific questions have been addressed by other brothers so I'll just point out that there is a wealth of already-written code to solve common problems on CPAN, which is one of Perl's great strengths. Have a browse through the Log tree and see if some of the modules there would suit your requirements.
In Section
Seekers of Perl Wisdom
|
|