The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PDL::AutoLoader - MatLab style AutoLoader for PDL

SYNOPSIS

   use PDL::AutoLoader;
   $a = func1(...);   # Load file func1.pdl
   $b = func2(...);   # Load file func2.pdl

DESCRIPTION

This module implements a MatLab style AutoLoader for PDL. If a unknown function 'func()' is called then a file 'func.pdl' is searched for and if found is read in to define 'func()' which is then executed.

Files are seached for using the directories in seach path @PDLLIB, which is initialised from the shell environment variable PDLLIB which is a colon seperated list of directories.

e.g. in csh

setenv PDLLIB "/home/kgb/pdllib:/local/pdllib"

Sample file:

AUTHOR

Copyright(C) 1997 Karl Glazebrook (kgb@aaoepp.aao.gov.au). All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.