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

    r10218 r10253  
    3131use BasClas;
    3232
     33use strict;
     34no strict 'refs'; # allow filehandles to be variables and viceversa
     35
    3336sub BEGIN {
    34     @ISA = ('BasClas');
     37    @HTML::ISA = ('BasClas');
    3538}
    3639
     
    6265
    6366    my $self = (defined $hashArgOptLists)? new BasClas($classifierslist,$inputargs,$hashArgOptLists): new BasClas($classifierslist,$inputargs);
     67
     68    if ($self->{'info_only'}) {
     69    # don't worry about any options etc
     70    return bless $self, $class;
     71    }
    6472
    6573    if (!$self->{'url'}) {
Note: See TracChangeset for help on using the changeset viewer.