perl模块Data::Dumper应用一例分享
程序员文章站
2022-04-29 20:13:00
复制代码 代码如下:#!/usr/bin/perluse strict;use warnings;use data::dumper;my %hash = ( &n...
复制代码 代码如下:
#!/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.
上一篇: 涮火锅用的牛肉用哪个部位好吃