NAME

Cog::Config - Perl extension to keep some config information for the Perl Cog.


SYNOPSIS

  use Cog::Config;
  my $globus_binary_directory = Cog::Config->get_gbd();


EXAMPLES

  use Cog::Config;
  my $globus_version = Cog::Config->get_globus_version();
  my $globus_location = Cog::Config->get_globus_home_dir();
  my $globus_bin = Cog::Confgi->get_globus_bin_dir();


DESCRIPTION

This module is meant to be used by other modules in the Cog to find the globus binary directory, the globus home directory, or the globus version. It is not really meant for use outside the Cog, though I suppose you could use it if you like.

This module gets generated from Cog/src when you run perl Makefile.PL.


EXPORT

None by default.


AUTHOR

Stephen Mock, mock@sdsc.edu


SUBROUTINES

SUBROUTINE get_globus_version()

        Description/Usage:
        Used to find out what version of the globus client binaries are installed.
        $version = Cog::Config->get_globus_version();
        Required Arguments:
                none
        Optional Arguments:
                none
        Returns: a string with the globus version in it.

SUBROUTINE get_gv()

        Same as get_globus_version() ...just less characters to type

SUBROUTINE get_globus_bin_dir()

        Description/Usage:
        Used to find the directory with the globus executables in it.
        $glob_dir = Cog::Config->get_globus_bin_dir();
        Required Arguments:
                none
        Optional Arguments:
                none
        Returns: a string with the globus binary directory in it.

SUBROUTINE get_gbd()

        Same as get_globus_version() ...just less characters to type
        
=cut

sub get_gbd { return $globus_bin_dir; }

###################### # Subroutine: get_globus_home_dir() ###################### =head1

SUBROUTINE get_globus_home_dir()

        Description/Usage:
        Used to find the $GLOBUS_LOCATION or $GLOBUS_HOME directory.
        $glob_dir = Cog::Config->get_globus_home_dir();
        Required Arguments:
                none
        Optional Arguments:
                none
        Returns: a string with the globus home directory in it.

SUBROUTINE get_ghd()

        Description/Usage:
        Same as get_globus_home_dir() ...just less characters to type.
        Used to find the $GLOBUS_LOCATION or $GLOBUS_HOME directory.
        $glob_dir = Cog::Config->get_ghd();
        Required Arguments:
                none
        Optional Arguments:
                none
        Returns: a string with the globus home directory in it.


SEE ALSO

Cog::lib::Cog::Globus::Job, Cog::lib::Cog::Globus::RSL, Cog::lib::Cog::Globus::Run, Cog::lib::Cog::Globus::URLCopy, Cog::lib::Cog::MDS::Search, Cog::lib::Cog::Security::Cacl, Cog::lib::Cog::Security::Myproxy, Cog::lib::Cog::Security::Proxy, Cog::src::Config, CogUtil::lib::CogUtil::Log, CogUtil::lib::CogUtil::UnixRun, Gridport::lib::Gridport::Authentication, Gridport::lib::Gridport::FileTransfer, Gridport::lib::Gridport::Job, Gridport::lib::Gridport::ProxyForward, Gridport::lib::Gridport::SRB, NWS::lib::NWS, SRB::lib::SRB