Ignore:
Timestamp:
2003-12-19T15:16:29+13:00 (20 years ago)
Author:
jmt12
Message:

When -gli argument is provided to calling script these modules will now output gli specific, non-language nor verbosity specific, messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify.pm

    r5682 r6332  
    115115# to the gdbm
    116116sub output_classify_info {
    117     my ($classifiers, $handle, $allclassifications) = @_;
     117    my ($classifiers, $handle, $allclassifications, $gli) = @_;
    118118#    $handle = "main::STDOUT";
     119
     120    $gli = 0 unless defined $gli;
    119121
    120122    # create a classification containing all the info
     
    124126    # get each of the classifications
    125127    foreach $classobj (@$classifiers) {
    126     my $tempinfo = $classobj->get_classify_info();
     128    my $tempinfo = $classobj->get_classify_info($gli);
    127129    $tempinfo->{'classifyOID'} = "CL$next_classify_num";
    128130    $next_classify_num++;
Note: See TracChangeset for help on using the changeset viewer.