/usr/lib/perl5/PDL/LiteF.pm is in pdl 1:2.007-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | =head1 NAME
PDL::LiteF - minimum PDL module function loader
=head1 DESCRIPTION
Loads the smallest possible set of modules for
PDL to work, making the functions available in
the current namespace. If you want something even
smaller see the L<PDL::Lite|PDL::Lite> module.
=head1 SYNOPSIS
use PDL::LiteF; # Is equivalent to the following:
use PDL::Core;
use PDL::Ops;
use PDL::Primitive;
use PDL::Ufunc;
use PDL::Basic;
use PDL::Slices;
use PDL::Bad;
use PDL::Version;
use PDL::Lvalue;
=cut
# get the version:
use PDL::Version;
$PDL::LiteF::VERSION = $PDL::Version::VERSION;
# Load the fundamental PDL packages, with imports
sub PDL::LiteF::import {
my $pkg = (caller())[0];
eval <<EOD;
package $pkg;
use PDL::Core;
use PDL::Ops;
use PDL::Primitive;
use PDL::Ufunc;
use PDL::Basic;
use PDL::Slices;
use PDL::Bad;
use PDL::Lvalue;
EOD
die $@ if $@;
}
;# Exit with OK status
1;
|