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:
parent
651d9f749e
commit
5728f694d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user