#!/usr/bin/perl
use strict;
use warnings;
# my %array = a.a.a.a => "my name",
#       b.b.b.b => "my home",
#       c.c.c.c => "my city";

#Associate arrays are called Hash in Perl

my %hash = (
		'a.a.a.a' => "my name",
		'b.b.b.b' => "my home",
		'c.c.c.c' => "my city"
	);

#To access value of a key you do $hash{$key}, so to access b.b.b.b

print $hash{'b.b.b.b'};