http://qs1969.pair.com?node_id=90926


in reply to Hash Tutorial

from the learning perl book (may not be exact):
%words ( "fred" => "camel", "wilma" => "alpaca", "barney" => "llama" ); print $words{"fred"}; #prints camel $aname = "wilma"; print $words{$aname}; #prints alpaca

hope that helped