![]() |
![]()
| ![]() |
![]()
NAMEVCP::RefCountedFile - An object that deletes a named file when nothing refers to it any more. SYNOPSISuse VCP::RefCountedFile; { my $fn = VCP::RefCountedFile->new( "/path/to/name" ); print $fn; } ## "name" is deleted here. DESCRIPTIONAn 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. SUBCLASSINGThis class is a bless scalar. COPYRIGHTCopyright 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. AUTHORBarrie Slaymaker <barries@slaysys.com>
|