Ignore:
Timestamp:
2005-07-19T16:18:25+12:00 (19 years ago)
Author:
kjdon
Message:

added 'use strict' to all classifiers, and made modifications (mostly adding 'my') to make them compile

File:
1 edited

Legend:

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

    r10218 r10253  
    4141use sorttools;
    4242
     43use strict;
     44no strict 'refs'; # allow filehandles to be variables and viceversa
     45
    4346sub BEGIN {
    44     @ISA = ('AZList');
     47    @AZSectionList::ISA = ('AZList');
    4548}
    4649
     50my $arguments = [
     51         ];
    4752my $options = { 'name'     => "AZSectionList",
    4853        'desc'     => "{AZSectionList.desc}",
     
    9297
    9398    # find the first available metadata
    94     foreach $m (@{$self->{'meta_list'}}) {
     99    foreach my $m (@{$self->{'meta_list'}}) {
    95100    $metavalue = $doc_obj->get_metadata_element($section, $m);
    96101    $metaname = $m;
Note: See TracChangeset for help on using the changeset viewer.