使用Data::Dumper

==

use strict;
use warnings;

use Data::Dumper;

my %hash = (
    'name' => 'zdd',
    'id'   => 1234,
);

print Dumper(\%hash); # use reference here to get a better output.    

 

==

posted on 2012-11-18 01:30  perlman  阅读(1150)  评论(0编辑  收藏  举报

导航