Set PREFERRED_PARSER in Linux only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
01fbd40bf2
commit
ccba6ed107
@ -7,7 +7,9 @@ BEGIN
|
||||
use lib "$::XCATROOT/lib/perl";
|
||||
use IO::Socket::SSL;
|
||||
use XML::Simple;
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
if ($^O =~ /^linux/i) {
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
}
|
||||
use Data::Dumper;
|
||||
use IO::Handle;
|
||||
use IO::Select;
|
||||
|
Loading…
Reference in New Issue
Block a user