 
- 帖子
- 915
- 积分
- 1223
- 技术
- 3
- 捐助
- 0
- 注册时间
- 2018-1-17
|
回复 1# netdzb
use strict;
use warnings;
use XML::Simple;
use Data:: Dumper;
use 5.010;
my $xmlfile = "singer.xml";
my $xml = XML::Simple->new(KeyAttr=>"", ForceArray => 1);
my $tree = $xml->XMLin($xmlfile);
say Dumper($tree); |
|