VCP::RefCountedFile - An object that deletes a named file when nothing refers to
it any more.
use VCP::RefCountedFile;
{
my $fn = VCP::RefCountedFile->new( "/path/to/name" );
print $fn;
} ## "name" is deleted here.
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.
This class is a bless scalar.
Copyright 2000, Perforce Software, Inc. All Rights Reserved.
This module and the VCP package are licensed according to the
terms given in the file LICENSE accompanying this distribution, a copy of
which is included in vcp.
Barrie Slaymaker <barries@slaysys.com>