use PDL::AutoLoader; $a = func1(...); # Load file func1.pdl $b = func2(...); # Load file func2.pdl
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:
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.