in reply to die command while other files are opened

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.

  • Comment on Re: die command while other files are opened