in reply to Getting filename from IO::File object

There may not even be a filename for the IO::File object. For example:
my $handle = IO::File->open("/tmp/my$$", "w+"); unlink "/tmp/my$$";
This handle functions completely nicely (at least in Unix), but has no "name". When the last reference to this handle is closed, the disk space in /tmp is reclaimed.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.