Re: [問題] Hash 裡的陣列要怎麼 copy

看板Perl作者 (相見不如懷念)時間18年前 (2007/08/18 15:07), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
$input{"123"} = ["aaa","bbbbb","ccc"]; $input{"456"} = ["xxx","yyy","zzzz"]; @output = @{$input{"123"}}; print @output[0]; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.71.152

08/18 15:16, , 1F
感謝 ^^
08/18 15:16, 1F
文章代碼(AID): #16nfhCx5 (Perl)
文章代碼(AID): #16nfhCx5 (Perl)