programming-examples/perl/Hash/Dump the hash.pl

10 lines
144 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
use warnings;
use Data::Dumper;
my $hashref = {a=>1, b=>2, h=>{c=>3, d=>4}, e=>[6, 7, 8]};
print Dumper($hashref);