The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTC.pm - Utilities and methods for the Grid::Request modules.

DESCRIPTION

Overview

This method provides several functions and methods that are useful to the Grid modules.

Class and object methods

$obj->new([%arg]);

Description: This is the object contructor. A hash with arguments may be passed.

Parameters: %arg.

Returns: $self, a blessed hash reference.

$obj->_init();

Description: _init in this class is an abstract method and is not implemented. In fact, it will die with an error message if you somehow call this method in this class.

Parameters: None.

Returns: None.

$obj->debug([$debug]);

Description: The debug method allows the user to set or get the debug level. If an optional argument is sent, it will be used to set the debug level. The default level is "error". When passing a string debug level, case is ignored.

Parameters: Optional integer argument to set debug level. The debug level can be either numeric or a string as follows:

    Name     Code
    ----     ----
    DEBUG       5
    INFO        4
    WARN        3
    ERROR       2
    FATAL       1

Returns: The current debug level in numeric form.

ENVIRONMENT

If the user sets the GRID_CONFIG environment variable, it will be interpreted as the path to an alternate configuration file that will override the default.

BUGS

Description of known bugs (and any workarounds). Usually also includes an invitation to send the author bug reports.