Set PREFERRED_PARSER for Linux only.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-04-16 16:57:32 +00:00
parent e84303c765
commit f38d25c920

View File

@ -28,7 +28,9 @@ unless ($inet6support) {
}
use XML::Simple;
$XML::Simple::PREFERRED_PARSER='XML::Parser';
if ($^O =~ /^linux/i) {
$XML::Simple::PREFERRED_PARSER='XML::Parser';
}
require Data::Dumper;
use Storable qw(dclone);
my $xcathost='localhost:3001';