File Coverage

blib/lib/Solaris/Vmem.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Solaris::Vmem;
2              
3 1     1   6483 use 5.006;
  1         4  
  1         43  
4 1     1   7 use strict;
  1         2  
  1         46  
5 1     1   6 use warnings;
  1         2  
  1         185  
6              
7             require Exporter;
8             require DynaLoader;
9              
10             our @ISA = qw(Exporter DynaLoader);
11              
12             # Items to export into callers namespace by default. Note: do not export
13             # names by default without a very good reason. Use EXPORT_OK instead.
14             # Do not simply export all your public functions/methods/constants.
15              
16             # This allows declaration use Solaris::Vmem ':all';
17             # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
18             # will save memory.
19             our %EXPORT_TAGS = ( 'all' => [ qw(
20             alloc
21             release
22             trim
23             ) ] );
24              
25             our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
26              
27             our @EXPORT = qw(
28             alloc
29             release
30             trim
31             );
32             our $VERSION = '0.01';
33              
34             bootstrap Solaris::Vmem $VERSION;
35              
36             # Preloaded methods go here.
37              
38             1;
39             __END__