# The instance configuration file should require this file directly, # using: # BEGIN { require "/path/to/DadaFork/use_me.pl" ; } # This automatically points the configuration back to the caller, and # sets up the necessary paths. use File::Basename; use lib dirname(__FILE__); use lib dirname(__FILE__) . "/DADA/"; use lib dirname(__FILE__) . "/DADA/perllib/"; my @c = caller; $DADA::Config::PROGRAM_CONFIG_FILE_DIR = dirname($c[1]); 1;