Ignore:
Timestamp:
2001-01-16T11:50:05+13:00 (23 years ago)
Author:
paynter
Message:

Updated classifiers to use the parsearg library instead of ad-hoc
"x=y" style parsing. (Backwards compatability maintained through
a quick hack to the load_classifier function in classfy.pm.)

File:
1 edited

Legend:

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

    r1483 r1839  
    4141}
    4242
     43sub print_usage {
     44    print STDERR "
     45  usage: classify DateList
     46
     47Classifier plugin for sorting by date.
     48No options - always sorts by 'Date' metadata
     49Date is assumed to be in the form yyyymmdd
     50At present dates are split by year - this should change
     51
     52Any errors are Dana's problem.
     53";
     54}
     55
    4356sub new {
    44     my ($class, @options) = @_;
    45     my $self = new BasClas ($class, @_);
     57    my $class = shift (@_);
     58    my $self = new BasClas($class, @_);
    4659
    4760    $self->{'list'} = {};
Note: See TracChangeset for help on using the changeset viewer.