in reply to Re^2: Passing a file handle to a sub. I still don't get it.
in thread Passing a file handle to a sub. I still don't get it.

It may work for you now, but do you know why? You've fixed it, but can you duplicate it in other contexts?

I notice that you no longer take a reference to a glob, but the glob directly. My quick check shows that this works (though the glob reference shows more info in the debugger with the x command).

-QM
--
Quantum Mechanics: The dreams stuff is made of