RegisterNamespace


NAME

RegisterNamespace.pl - Script to register a new BioMOBY Namespace

Top


SYNOPSIS

RegisterNamespace.pl --central_conf=``list_of_central_config_files'' --namespace_conf=``list_of_namespace_config_files''

Top


DESCRIPTION

 This script permit to register a new BioMOBY namespace
 using 2 types of configuration files:

 * central_conf:
    This file contains where to register your namespace,
    which mobycentral
    You can give a list of config files to register
    many centrals in one shot !

 * namespace_conf:
    This file contains information on the namespace,
    like, type, description, URI, relationships
    You can give a list of config files: in that case,
    if a key is duplicated, the last value (in the 
    same order as your file list) overwrite the previous.

Top


SUBROUTINES

procedure executeRegistering

 Title        : executeRegistering
 Usage        : &executeRegistering()
 Prerequisite : none
 Function     : Execute namespace registering on each mobycentral given as parameters
 Returns      : undef if OK 
 Args         : none
 Globals      : $RH_PARAM

procedure ControlUsage

 Title        : ControlUsage
 Usage        : &ControlUsage()
 Prerequisite : none
 Function     : Control usage of program
 Returns      : undef if OK 
 Args         : $param_name Param to control
 Globals      : $RH_PARAM

procedure PrintUsage

 Title        : PrintUsage
 Usage        : &PrintUsage()
 Prerequisite : none
 Function     : print usage of the program
 Returns      : none 
 Args         : none
 Globals      : none

Top

 RegisterNamespace