http://qs1969.pair.com?node_id=1229042


in reply to Re: Retriving Filename from Filehandle
in thread Retriving Filename from Filehandle

It's really a shame that a filehandle can't be supplied as the filename parameter to open(). As it is, many (most?) Perl modules don't work correctly under Windows because their interfaces use filename parameters and can't handle Unicode filenames.

  • Comment on Re^2: Retriving Filename from Filehandle

Replies are listed 'Best First'.
Re^3: Retriving Filename from Filehandle
by ikegami (Patriarch) on Jan 28, 2019 at 02:20 UTC

    So, behaving as if the mode was <& instead of < when a handle is provided? Interesting. You could submit the idea to the Perl devs (perl5-porters@perl.org).