Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/starlink/perl-starlink-config

Determine location of Starlink software
https://github.com/starlink/perl-starlink-config

Last synced: 3 days ago
JSON representation

Determine location of Starlink software

Awesome Lists containing this project

README

        

This is the Starlink::Config module.
It is used by other modules to determine the location of the
Starlink system.

To install:

% perl Makefile.PL
% make
% make test
% make install

On a Starlink system perl is located in /star/Perl/bin. The
configuration file is automatically built during the initial
phase. The Starlink environment is determined by looking at
environment variables.

The location of the starlink system is determined by first looking for
$STARCONF_DEFAULT_STARLINK, then $STARLINK, then
$STARCONF_DEFAULT_PREFIX and finally $INSTALL else failling back to
'/star' (if found) and then '/stardev'. An error is raised if the
Starlink base directory determined in this manner does not actually
exist.

See the pod documentation for more information:

% perldoc Starlink::Config