2009-04-01ãã1ã¶æéã®è¨äºä¸è¦§
以åæ¸ããVistaæ²æ» ï½´ï¾ï¾ï¾ã«ãæ¤ç´¢ããæ¥ã¦ããã人ãå²ã¨ãããããªã®ã§ã ãããã§Vistaæ©ãXPæ©ã«ããæ¹æ³ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãã OSã®ã¨ãã£ã·ã§ã³ç¢ºèª ã¾ãã¯Vistaã¨XPã®ï½´ï¾ï¾ï½¨ï½¼ï½®ï¾ã確èªããªãã¨ãããªãã ï¾ï¾ï½³ï¾ï½¸ï¾ï¾ï½°ï¾ï¾æ¨©ã«é¢ä¿ããクï¾ï¾ï½°ï¾ï¾åããããã¨ã以â¦
ãã®ããã°ã§ãpackã«ã¤ãã¦ä½åãæ¸ãã¦ã¦ã ãperl packããªãã¦æ¤ç´¢èªã§å¼ã£ãããããã«ãªã£ã¦ããããã ã¾ããã®packã«ã¤ãã¦æãå½ãã£ããã¨ãããã®ã§å°ãã Perlã®å¤æ°ã¯å¯å¤é·ã ã ã¹ã«ã©ã ããããªãã¦ããªã¹ããããã·ã¥ããPerlã®ã¡ã¢ãªç®¡çã¯â¦
大ãããã¨ãããªãããã©ãç¥ã£ã¦ããã¨ç¢ºãã«ä¾¿å©ãsortã¯ç¬¬ä¸å¼æ°ãçç¥ããã¨cmpæ¼ç®åã使ãã¨ãããã¨ã @a = (1, 2, 10, 3); print join(",", @a); # 1, 2, 10, 3 print join(",", sort @a); # 1, 10, 2, 3 print join(",", sort { $a cmp $b } @a); â¦