in reply to Hash Tutorial
from the learning perl book (may not be exact):
hope that helped
%words ( "fred" => "camel", "wilma" => "alpaca", "barney" => "llama" ); print $words{"fred"}; #prints camel $aname = "wilma"; print $words{$aname}; #prints alpaca
hope that helped
|
---|
In Section
Seekers of Perl Wisdom