Set PREFERRED_PARSER for Linux only.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-04-16 17:03:37 +00:00
parent 651d9f749e
commit 5728f694d7

View File

@ -31,7 +31,9 @@ use IO::Socket;
use IO::Handle;
use IO::Select;
use XML::Simple;
$XML::Simple::PREFERRED_PARSER='XML::Parser';
if ($^O =~ /^linux/i) {
$XML::Simple::PREFERRED_PARSER='XML::Parser';
}
use xCAT::Table;
use Data::Dumper;
use Getopt::Long;