File Coverage

blib/lib/PDLA/Lite.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             =head1 NAME
2              
3             PDLA::Lite - minimum PDLA module OO loader
4              
5             =head1 DESCRIPTION
6              
7             Loads the smallest possible set of modules for
8             PDLA to work, without importing an functions in
9             to the current namespace. This is the absolute
10             minimum set for PDLA.
11              
12             Although no functions are defined (apart from
13             a few always exported by L) you can still
14             use method syntax, viz:
15              
16             $x->wibble(42);
17              
18             =head1 SYNOPSIS
19              
20             use PDLA::Lite; # Is equivalent to the following:
21              
22             use PDLA::Core '';
23             use PDLA::Ops '';
24             use PDLA::Primitive '';
25             use PDLA::Ufunc '';
26             use PDLA::Basic '';
27             use PDLA::Slices '';
28             use PDLA::Bad '';
29             use PDLA::Version;
30             use PDLA::Lvalue;
31              
32             =cut
33              
34             # Load the fundamental PDLA packages, no imports
35             # Because there are no imports, we do not need
36             # the usual 'eval in the user's namespace' routine.
37              
38 1     1   15603 use PDLA::Core '';
  0            
  0            
39             use PDLA::Ops '';
40             use PDLA::Primitive '';
41             use PDLA::Ufunc '';
42             use PDLA::Basic '';
43             use PDLA::Slices '';
44             use PDLA::Bad '';
45             use PDLA::Version ; # Doesn't export anything - no need for ''
46             use PDLA::Lvalue;
47              
48             package PDLA::Lite;
49             $VERSION = $PDLA::Version::VERSION;
50              
51             ;# Exit with OK status
52              
53             1;