perl模块Data::Dumper应用一例分享
发布时间:2016-12-28 来源:查字典编辑
摘要:复制代码代码如下:#!/usr/bin/perlusestrict;usewarnings;useData::Dumper;my%hash=...
复制代码 代码如下:
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
my %hash = (
'name' => 'zdd',
'id' => 1234,
);
print Dumper(%hash); # use reference here to get a better output.