推 l10nel:元素數量多時最好轉成hash再判斷 08/03 12:43
→ jeffreychen:數量沒有很多 08/03 12:47
推 dryman:@arr = ("a", "b", "c"); 08/03 13:13
→ dryman:@hash{@arr} = (1)x($#arr + 1); 08/03 13:13
→ dryman:$hash{"a"}; # ==> 1 08/03 13:14
→ dryman:$hash{"d"}; # ==> nothing 08/03 13:14
→ jeffreychen:謝謝dryman 08/03 13:15
→ xatier:~~ operator 08/07 18:50
→ xatier:阿...樓下有人回文有寫了 08/07 18:51