批踢踢實業坊
›
看板
Perl
關於我們
聯絡資訊
返回看板
作者
LiloHuang (相見不如懷念)
看板
perl
標題
Re: [問題] Hash 裡的陣列要怎麼 copy
時間
Sat Aug 18 15:07:55 2007
$input{"123"} = ["aaa","bbbbb","ccc"]; $input{"456"} = ["xxx","yyy","zzzz"]; @output = @{$input{"123"}}; print @output[0]; --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.114.71.152
推
whackup
:感謝 ^^
08/18 15:16