helperOA - extra subroutines used for general purposes by ontology_annotator.cgi and config perl modules.
my ($var, $value) = &getHtmlVar($query, $field_name);
my $date = &getPgDate();
Some subroutines are commonly used by ontology_annotator.cgi and config-specific perl modules. This module loads them.
&getHtmlVar takes as values the CGI $query and the name of the html field to query. Returns the html field name and its value.
&getPgDate gets the current timestamp in postgreSQL format.
&pad10Zeros takes a number, pads to 10 digits, and returns it.
&pad8Zeros takes a number, pads to 8 digits, and returns it.
&fromUrlToPostgres takes a value passed from a URL and parses to postgres format.