in reply to Multiple Hash values

Of course you can!

But if you only want to show the content of the hash (not use or manipulate them) then Data::Dumper and its brethren will come in very handy.

use Modern::Perl qw /2014/; use Data::Dumper ; my %Hash; $Hash{a}[0]="i"; $Hash{a}[1]="ii"; $Hash{a}[2]="iii"; $Hash{b}[0]="iv"; $Hash{b}[1]="v"; $Hash{b}[2]="vi"; say Dumper (\%Hash);
Output:
$VAR1 = { 'b' => [ 'iv', 'v', 'vi' ], 'a' => [ 'i', 'ii', 'iii' ] };

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics