remove Linux check around XML::Simple::PREFERRED_PARSER

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-29 16:20:35 +00:00
parent e1515f211a
commit 1919a52ca7
2 changed files with 2 additions and 6 deletions

View File

@ -23,9 +23,7 @@ my %mm_comm_pids;
#a 'browser' for http actions
my $browser;
use XML::Simple;
if ($^O =~ /^linux/i) {
$XML::Simple::PREFERRED_PARSER='XML::Parser';
}
$XML::Simple::PREFERRED_PARSER='XML::Parser';
use Data::Dumper;
use POSIX "WNOHANG";
use Storable qw(freeze thaw);

View File

@ -9,9 +9,7 @@ use Storable qw(freeze thaw);
use Time::HiRes qw(gettimeofday);
use IO::Select;
use XML::Simple;
if ($^O =~ /^linux/i) {
$XML::Simple::PREFERRED_PARSER='XML::Parser';
}
$XML::Simple::PREFERRED_PARSER='XML::Parser';
use xCAT::PPCdb;
require xCAT::MacMap;