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/List.pm

    r10223 r10253  
    3030package List;
    3131
     32use strict;
     33no strict 'refs'; # allow filehandles to be variables and viceversa
     34
    3235use sorttools;
    3336
    3437sub BEGIN {
    35     @ISA = ('BasClas');
     38    @List::ISA = ('BasClas');
    3639}
    3740
     
    144147        my $values_listref=
    145148            $doc_obj->get_metadata($topsection, $m);
    146         $array_size = scalar(@{$values_listref});
     149        my $array_size = scalar(@{$values_listref});
    147150        if ($array_size==0 || $array_size < $mdoffset+1) {
    148151            $mdoffset = $mdoffset - $array_size;
     
    222225    $classifyinfo{'supportsmemberof'} = $memberof;
    223226
    224     foreach $OID (@list) {
     227    foreach my $OID (@list) {
    225228    my $hashref={};
    226229    # special oid format, if using offsets (from AZCompactList)
Note: See TracChangeset for help on using the changeset viewer.