Set PREFERRED_PARSER in Linux only.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c58e504b74
commit
a82b07757c
@ -8,7 +8,9 @@ use SNMP;
|
||||
use strict;
|
||||
|
||||
use XML::Simple;
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
if ($^O =~ /^linux/i) {
|
||||
$XML::Simple::PREFERRED_PARSER='XML::Parser';
|
||||
}
|
||||
use Data::Dumper;
|
||||
use POSIX "WNOHANG";
|
||||
use Storable qw(freeze thaw);
|
||||
|
Loading…
Reference in New Issue
Block a user