in reply to How to build a hash?

You refer perldata, this may help you.

As Roy Johnson suggested,the usual way is

$hash{$key}=$value;

Prasad