Re: [hwloc-devel] XML::Simple doesn't like lstopo's XML

2012-11-19 Thread Brice Goglin
Works for me. I'll save all this in a "wontfix" trac ticket in case somebody ever complains again. Brice Le 19/11/2012 21:14, Jeff Squyres a écrit : > It could also be that XML::Simple is just that -- simple... > > Looking at http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm, >

Re: [hwloc-devel] XML::Simple doesn't like lstopo's XML

2012-11-19 Thread Jeff Squyres
It could also be that XML::Simple is just that -- simple... Looking at http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm, it says: The use of this module in new code is discouraged. Other modules are available which provide more straightforward and consistent interfaces. In parti

Re: [hwloc-devel] XML::Simple doesn't like lstopo's XML

2012-11-19 Thread Brice Goglin
Looks related to these warnings: Warning: element has non-unique value in 'name' key attribute: Intel Corporation I350 Gigabit Network Connection at ./topo.pl line 16 Warning: element has non-unique value in 'name' key attribute: Intel Corporation I350 Gigabit Network Connection at ./topo.pl lin

[hwloc-devel] XML::Simple doesn't like lstopo's XML

2012-11-19 Thread Jeff Squyres
Odd. On the SVN trunk, I'm running this code: - open (LSTOPO, "lstopo -.xml|") || die "Can't open lstopo"; my $lstopo; while () {