VCP::RefCountedFile3pm
An object that deletes a named file when nothing refers to it any more.
Usage
use VCP::RefCountedFile;
{my $fn = VCP::RefCountedFile->new( "/path/to/name" );print $fn;} ## "name" is deleted here.
Overview
An object that mimics a string, but which refers to a file and deletes the file when the last reference to the file via such objects disappears.
Subclassing
This class is a bless scalar.
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.