10 lines
224 B
Perl
10 lines
224 B
Perl
|
#The name of the hash is preceded by a "%" symbol.
|
||
|
|
||
|
%employee = (
|
||
|
"Name" => "AA",
|
||
|
"Phone" => "(999) 555-1234",
|
||
|
"Position" => "CEO"
|
||
|
);
|
||
|
|
||
|
print $employee{"Name"};
|
||
|
$employee{"SSN"}="999-333-2345";
|