perl模块Data::Dumper应用一例,参见下面的代码。
#!/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.
CopyRight © 2010-2021 脚本学堂 Jb200.com , All Rights Reserved.