http://qs321.pair.com?node_id=893158


in reply to Re: Temp file handles refcount bug?
in thread Temp file handles refcount bug?

That doesn't work on my machine, but deselecting the tied handle does silence the complaint, e.g. making the last line select STDOUT or some such.