remove linux check around ::Simple::PREFERRED_PARSER='XML::Parser'

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-30 19:42:29 +00:00
parent a0382d40f6
commit d2d77a54c8
3 changed files with 3 additions and 9 deletions

View File

@ -24,9 +24,7 @@ my $nthash; #to store nodetype data
my $hmhash;
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

@ -6,9 +6,7 @@ use IO::Socket;
use strict;
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

@ -23,9 +23,7 @@ my $vmhash;
my $hmhash;
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);