From BRTT
Error message: Can't locate Datascope.pm in @INC
The statement
use Datascope ;
appears early in scripts which use various Antelope functions. However, it requires a previous line:
use lib "$ENV{ANTELOPE}/data/perl" ;
We moved the Antelope specific stuff out of the /opt/antelope/perl installation and into the particular release, so that the perl installation was release independent. The cost was the extra line above or (for awhile) the PERLLIB environment variable.
If you name your script xxx.xpl and have an Antelope Makefile in the same directory (ie, it contains "include $(ANTELOPEMAKE)", you can say "make xxx" and it will prepend the right information to the beginning of your script, including the line above.
Alternatively, "template perl" will print the typical starting lines for a Datascope script.