in reply to Is it possible to get a filename from a filehandle?

No. I think this is answered in better detail in the Perl FAQ...
  • Comment on Re: Is it possible to get a filename from a filehandle?