in reply to Getting filename from IO::File object
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.my $handle = IO::File->open("/tmp/my$$", "w+"); unlink "/tmp/my$$";
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|