Changeset 9239


Ignore:
Timestamp:
2005-03-01T17:10:38+13:00 (19 years ago)
Author:
mdewsnip
Message:

Changed "unshift" to "push", so an existing XML::Parser on the system is used in preference to the Greenstone prebuilt XML::Parser (in cpan/perl-5.6 or cpan/perl-5.8).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/XMLParser.pm

    r8087 r9239  
    2323
    2424    if ($ENV{'GSDLOS'} !~ /^windows$/i) {
    25     unshift (@INC, "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir");
     25    # Use push to put this on the end, so an existing XML::Parser will be used by default
     26    push (@INC, "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir");
    2627    }
    2728}
Note: See TracChangeset for help on using the changeset viewer.