Changeset 4761


Ignore:
Timestamp:
2003-06-23T14:30:15+12:00 (21 years ago)
Author:
mdewsnip
Message:

Copied (from BasPlug.pm) a generic print usage function which works with the $options and $arguments structures added to each plugin.

File:
1 edited

Legend:

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

    r4759 r4761  
    348348
    349349# print_usage should be overridden for any sub-classes
    350 sub print_usage {
    351     print STDERR "
    352 This classifier has no classifier-specific options
    353 
    354 ";
    355 }
     350# sub print_usage {
     351#     print STDERR "
     352# This classifier has no classifier-specific options
     353#
     354# ";
     355# }
    356356
    357357sub new {
     
    363363    $self->{'outhandle'} = STDERR;
    364364   
    365     $self->{'option_list'} = [ $options ];
     365    $self->{'option_list'} = [ $options ];
    366366
    367367    # general options available to all classifiers
Note: See TracChangeset for help on using the changeset viewer.