in reply to reverse engineer a filehandle

"Indirect filehandles also make it easy to pass filehandles to and return filehandles from subroutines."

Okay, so how do I find out which file this filehandle references?

They way you pose the question makes me think the latter should follow from the former.

I think how easy it is to pass around filehandles is complete unrelated to finding out file names. Do note you question may not have a unique answer: