#!/usr/bin/perl %h = ("name", "David", "height", 6.1, "degree", "PhD" ); # Note that each element of %h when accessed is a scalar, so # use $ syntax to access an element, not % print << "DOC"; Name: $h{"name"} Height: $h{"height"} Degree: $h{"degree"} DOC