Changeset 24700 for main/trunk/greenstone2/perllib
- Timestamp:
- 2011-09-30T14:37:20+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/XMLParser.pm
r22734 r24700 54 54 55 55 if ($ENV{'GSDLOS'} !~ /^windows$/i) { 56 # Use push to put this on the end, so an existing XML::Parser will be used by default 57 push (@INC, "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir"); 56 # Use push to put this on the end, so an existing XML::Parser will be used by default 57 if (-d "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir-mt" && $Config{usethreads}){ 58 push (@INC, "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir-mt"); 59 } 60 else{ 61 push (@INC, "$ENV{'GSDLHOME'}/perllib/cpan/$perl_dir"); 62 } 58 63 } 59 64 } 60 65 66 use Config; 61 67 use XML::Parser; 62 68 use strict;
Note:
See TracChangeset
for help on using the changeset viewer.