$ ./script.pl $VAR1 = { 'emp' => { 'desig' => 'Developer', 'address' => 'New york', 'age' => '24', 'name' => 'Mahesh' } }; Mahesh 24 New york