DiaColloDB/Temp.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
cleanup
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ## -*- Mode: CPerl -*-
2 ## File: DiaColloDB::Temp.pm
3 ## Author: Bryan Jurish <moocow@cpan.org>
4 ## Descript: DiaColloDB: temporary data structures: common base class
5  
6 package DiaColloDB::Temp;
7 use DiaColloDB::Logger;
8 use strict;
9  
10 ##======================================================================
11 ## Gloabls
12 our @ISA = qw(DiaColloDB::Logger);
13  
14 ##======================================================================
15 ## DiaColloDB::Temp API
16  
17 ## $tied = TIEHASH($classname, $filename, %opts)
18 ## $tied = TIEARRAY($classname, $filename, %opts)
19 ## + should honor 'UNLINK' option in %opts to auto-unlink $filename on object destruction
20  
21 ## undef = $obj->cleanup()
22 ## + unlink underlying file(s) (only if created with 'UNLINK' option)
23 ## + call this from DESTROY()
24 sub cleanup {
25 ;
26 }
27  
28 1; ##-- be happy
29  
30 __END__