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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/BookPlug.pm

    r10218 r10254  
    5555use BasPlug;
    5656use util;
     57use strict;
     58no strict 'refs'; # allow filehandles to be variables and viceversa
    5759
    5860sub BEGIN {
    59     @ISA = ('BasPlug');
     61    @BookPlug::ISA = ('BasPlug');
    6062}
    6163
     
    197199
    198200sub replace_image_links {
     201    my $self = shift (@_);
    199202    my ($dir, $doc_obj, $front, $link, $back) = @_;
    200203    my $outhandle = $self->{'outhandle'};
Note: See TracChangeset for help on using the changeset viewer.