Ignore:
Timestamp:
2004-12-01T16:14:11+13:00 (19 years ago)
Author:
kjdon
Message:

added some changes made by Emanuel Dejanu (Simple Words)

File:
1 edited

Legend:

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

    r8512 r8716  
    100100
    101101BEGIN {
    102     @ISA = ('BasPlug');
     102    @RecPlug::ISA = ('BasPlug');
    103103    unshift (@INC, "$ENV{'GSDLHOME'}/perllib/cpan");
    104104}
     
    238238
    239239    # Re-order the files in the list so any directories ending with .all are moved to the end
    240     for ($i = scalar(@dir) - 1; $i >= 0; $i--) {
     240    for (my $i = scalar(@dir) - 1; $i >= 0; $i--) {
    241241    if (-d &util::filename_cat($dirname, $dir[$i]) && $dir[$i] =~ /\.all$/) {
    242242        push(@dir, splice(@dir, $i, 1));
     
    302302
    303303        # Any new files are added to the end of @dir to get processed by the loop
     304        my $j;
    304305        foreach my $subfilenow (@dirnow) {
    305306        for ($j = 0; $j < $num_files; $j++) {
Note: See TracChangeset for help on using the changeset viewer.