UMLS::Interface::ErrorHandler - provides the error handeling for the modules


UMLS-Interface documentation  | view source Contained in the UMLS-Interface distribution.

Index


NAME

Top

UMLS::Interface::ErrorHandler - provides the error handeling for the modules in the UMLS-Interface package.

DESCRIPTION

Top

This package provides the error handeling for the modules in the UMLS-Interface package.

For more information please see the UMLS::Interface.pm documentation.

SYNOPSIS

Top

  use UMLS::Interface::ErrorHandler();

  $errorhandler = UMLS::Interface::ErrorHandler->new();
  if(! defined $errorhandler) {
    print STDERR "The error handler did not get passed properly.\n";
    exit;
  }

  $concept = "C012";
  $pkg = "Package";
  $function = "function";

  if(! ($errorhandler->_validCui($concept)) ) {
    $errorhandler->_error($pkg, 
                          $function,   
                          "Incorrect input value ($concept)", 
                          6);
  }

INSTALL

Top

To install the module, run the following magic commands:

  perl Makefile.PL
  make
  make test
  make install

This will install the module in the standard location. You will, most probably, require root privileges to install in standard system directories. To install in a non-standard directory, specify a prefix during the 'perl Makefile.PL' stage as:

  perl Makefile.PL PREFIX=/home/sid

It is possible to modify other parameters during installation. The details of these can be found in the ExtUtils::MakeMaker documentation. However, it is highly recommended not messing around with other parameters, unless you know what you're doing.

SEE ALSO

Top

http://tech.groups.yahoo.com/group/umls-similarity/

http://search.cpan.org/dist/UMLS-Similarity/

AUTHOR

Top

Bridget T McInnes <bthomson@cs.umn.edu> Ted Pedersen <tpederse@d.umn.edu>

COPYRIGHT

Top


UMLS-Interface documentation  | view source Contained in the UMLS-Interface distribution.