in reply to Re^3: Handling multiple output files simultaneously using arrays of filehandles and filenames
in thread Handling multiple output files simultaneously using arrays of filehandles and filenames

nitpick:

 The trailing newline is mostly an aesthetic choice though. 

I learned here at the Monastery (sorry can't remember by whom) that calling die with a final newline will cause it to omit the line number. It will be less verbose.

die "aaa"; aaa at - line 1. die "aaa\n"; aaa
  • Comment on Re^4: Handling multiple output files simultaneously using arrays of filehandles and filenames
  • Select or Download Code

Replies are listed 'Best First'.
Re^5: Handling multiple output files simultaneously using arrays of filehandles and filenames
by Cosmic37 (Acolyte) on Jan 21, 2021 at 21:17 UTC
    Thanks. That's interesting!

      keep it up Cosmic37!