in reply to Re^4: modules, exporting, and indirect filehandles
in thread modules, exporting, and indirect filehandles

I know. You just duplicated my first reply (except mine also supports the two-arg open). The OP stated he didn't want to use that.