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

I'd like to provide a doc link

print

If you're storing handles in an array or hash, or in general whenever you're using any expression more complex than a bareword handle or a plain, unsubscripted scalar variable to retrieve it, you will have to use a block returning the filehandle value instead, in which case the LIST may not be omitted
  • Comment on Re^2: Handling multiple output files simultaneously using arrays of filehandles and filenames

Replies are listed 'Best First'.
Re^3: Handling multiple output files simultaneously using arrays of filehandles and filenames
by Cosmic37 (Acolyte) on Jan 21, 2021 at 20:28 UTC
    Thanks for that reference. I had indeed read that document earlier today but suddenly felt drained of all energy when I read the phrase "bareword handle" which meant nothing to me. I must learn more. I must learn more. I must learn more. Thrash. Whip. I am a member of Opus Doh. :-D