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

    r10218 r10254  
    3232use doc;
    3333
     34use strict;
     35no strict 'refs'; # allow filehandles to be variables and viceversa
     36
    3437sub BEGIN {
    35     @ISA = ('BasPlug');
     38    @RogPlug::ISA = ('BasPlug');
    3639}
    3740
     
    196199    $doc_obj->add_metadata($cursection, "FileSize",      (-s $file));
    197200
    198     foreach $md ( @{$song->{'metadata'}} )
     201    foreach my $md ( @{$song->{'metadata'}} )
    199202    {
    200203    $doc_obj->add_metadata($cursection, $md->[0], $md->[1]);
Note: See TracChangeset for help on using the changeset viewer.