Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
VCP::RefCountedFile(3)User Contributed Perl DocumentatioVCP::RefCountedFile(3)

NAME
       VCP::RefCountedFile - An	object that deletes a named file when nothing
       refers to it any	more.

SYNOPSIS
	  use VCP::RefCountedFile;

	  {
	     my	$fn = VCP::RefCountedFile->new(	"/path/to/name"	);
	     print $fn;
	  }  ##	"name" is deleted here.

DESCRIPTION
       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.

COPYRIGHT
       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.

AUTHOR
       Barrie Slaymaker	<barries@slaysys.com>

perl v5.24.1			  2004-11-04		VCP::RefCountedFile(3)

NAME | SYNOPSIS | DESCRIPTION | SUBCLASSING | COPYRIGHT | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=VCP::RefCountedFile&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help