初学perl,请教访问下面的数组中后添加的数组成员(各种飞机)的方法
%pacificAmerica=("BS"=>"BattleShip","FL"=>"Plane",);
.
.
.
elsif ($insert eq "FL" or $insert eq "PL")
{
$pacificAmerica{"FL"}=
{"Bomber"=>["SBD","B-17","B-24"],
"Attacker"=>["SUB","PUB","A-10"],
"Fighter"=>["F4U","F6F","P40"],
};
Add a Reply