2008å¹´07æ13æ¥03:30 ã«ãã´ãªLightweight Languages perl - Class vs. Closure PERL HACKS(æ¥æ¬èªç) [è±èªç] ãã¼ãããããã«ããã¯ããããã§ããããã ã¯ãã¼ã¸ã£ã®æ¦å¿µãã¯ã©ã¹ã¨ã®å¯¾æ¯ã§ãããããã説æããã - ãµã³ãã«ã³ã¼ãã«ãã Perl å ¥é ããã§æ°ã¥ãã¦ã»ãããã¨ã¯ãã¯ã©ã¹ã¨ã¯ãã¼ã¸ã£ã¯ãå®ã¯åããã®ã ã¨ãããã¨ã§ãããããã«ãªãã¸ã§ã¯ãã®å®ç¾©ããè¡ãã¨ã 404 Blog Not Found:ãªãã¸ã§ã¯ãã¯é£ãããªããé£ããã®ã¯ã¯ã©ã¹ ããã§ããªãã¸ã§ã¯ãã¨ã¯ä½ããã¨ããã°ããèªåãä½ãåºæ¥ãã®ã[ã³ã¼ã]ãç¥ã£ã¦ãããã¼ã¿ãã¨ãããã¨ã«ãªãã ã§ãããã¯ãã¼ã¸ã£ã¼(closure)ã¯ãèªåãä½ãæã£ã¦ããã[ãã¼ã¿]ãç¥ã£ã¦ããã³ã¼ãããªã®ã§ãç価ã§ã¯ãããå®éã package Class; sub
ãäºæ¥å 容ã ã»ã¤ã³ã¿ã¼ãããäºæ¥ ã¤ã³ã¿ã¼ãããã·ã¹ãã éçºããã³ã³ã³ãµã«ãã£ã³ã° ã»iPhone & Androidã¢ããªéçº ã»ã¢ã³ãã¨ã¤ã¸ã³ã°ï¼ã¦ã§ã«ãã¹äºæ¥ å½å ããã³æµ·å¤ï¼ä¸å½ãã¤ã³ããã·ã¢ããããã ãã¤ã³ããä»ã¢ã¸ã¢è«¸å½ï¼ã対象ã¨ããå°å£²ãåºåããã¼ã±ãã£ã³ã°ã ã»ã¢ã¸ã¢ã§ã®æ´»èºãç®æã人æè²æããµãã¼ã ãä»å¹´ã®ç®æ¨ã ã»ã¢ã¸ã¢è«¸å½ã®è²©å£²ç¶²ãæ¡å¤§ããã ã»æ代ã®å¤åãèªã¿åããå¤åã«é å¿ããã ã»å¤è²¨åå ¥ãå¢ãããæ¥æ¬çµæ¸(ã¤ã³ãã¬ï¼åå®ç)ã«å½±é¿ãããªãçµæ¸ãæã¤ã ã»æµ·å¤(ç¹ã«ã¢ã¸ã¢)ã§ã®æ´»èºãç®æã仲éãä½ãã ãããã·ã§ã³ã»ã¹ãã¼ãã¡ã³ãã ã¢ã¸ã¢ã«é¢ãããã¨ã®å°æ¥æ§ãå¯è½æ§ã楽ãããä¼ããåºãè¦éãæã£ã¦ããã ããã¨ã«ãããçµæ¸çå®å®ãå¾ãããç¥èã¨æ©ä¼ãæä¾ããã ããã¦ãå½ç±ãè·æ¥ãå¹´é½¢ãæ§å¥é¢ä¿ãªããèªåã ãã§ãªãç¸æã®å©çãèãã¦è¡åããäºãã«å©ãåããæ
ä»ãç¥ããæªæ¥ãè¦æ®ãã å¹ã£ã¦ãããã¦ãã¦ãææ°æè¡ã¸å¯¾å¿ããã ã¬ã¬ã·ã¼ã·ã¹ãã ã®ã¢ãã³åå®ç¾ã¸ã®é ãããã¯ã¼ã¯ããµã¼ãã¹ã¨ãã¦ä½¿ã ãã¾ä¼æ¥ãããã¯ã¼ã¯ãåãã大ããªå¶ç´ ã¯ã©ã¦ãã·ããã§å¤§ããå¤ããï¼ æ¿å¤ãããã¸ãã¹ç°å¢ã®ä¸ã§ã®DX ã¢ãã³ã¢ããªã±ã¼ã·ã§ã³æ¦ç¥ã¸ã®åãçµã¿ã å¸å ´ã®ç«¶äºåã®æºæ³ã¨ãªã ä½é¨ããå¦ãã æåã¸ã®ç¥è¦ ããã¼ãã©ã¯ã¼ãÃã¨ã ã»ãã£ã¼ã«ãå¯¾è« Fintechãã©ãããã©ã¼ã éçºã®ãéµã ã¨ãã«DXãæ¨é²ãã ã³ã³ããåãããã¯ã¼ã¯ãã¼ãã管ç ç¶ç¶çãªä¾¡å¤ãçã¿ã ããååµãã¸ã®ææ¦ èªç¤¾å©ç¨ã®ç¥è¦ã»çµé¨ã顧客ã«æä¾ ã³ã³ããæ´»ç¨ãæ¨é²ããæ¥ç«è£½ä½æ VMware Tanzuãå©ç¨ããã¢ããã¤ãºãä¼æ 大å¦ãç 究æ©é¢ã製é æ¥ãªã© ãã¾ç®è¦ã¾ããèºé²ã¶ããè¦ãããã«ã®HPC ãã®èæ¯ã¨é¸ã°ããçç±ã«ãã¾ã ã¨ãã¸ãããã¤ããªããç°å¢ã¾ã§ èããããå ¨ã¦ã®ã¤ã³
ã·ã³ã°ã«ãã¹ã¿ã®éåæã¬ããªã±ã¼ã·ã§ã³æ©è½ã§ã¯ããã¹ã¿ãµã¼ãã¼ã1å°ã«éå®ããããã¹ã¿ããã¹ã¬ã¼ãã¸ã®è¤è£½ã¯éåæã§è¡ãªãããããé 延ãçããçæéã®ã¹ã±ã¼ã«ã§è¦ãã¨å ¨ã¹ã¬ã¼ãã¨ã®åæãä¿è¨¼ãããªãããããããã®åé¢ã¹ã¬ã¼ãã®å°æ°ãå¢å ããã¦ãã£ã¦ããã¹ã¿ãµã¼ãã¼ã®æ´æ°è² è·ã¯å¤§ãããªãããã¹ã±ã¼ã©ããªãã£ãç¶æã§ããã¨ããå©ç¹ããããDeNAã«ããéç¨å®ç¸¾ã§ãããã¹ã¿ã¨ã¹ã¬ã¼ãéã®é 延ã¯é常æ°ç§ç¨åº¦ä»¥å ã«åã¾ããããã®ã¬ããªã±ã¼ã·ã§ã³ãå©ç¨ããå ´åãã¢ããªã±ã¼ã·ã§ã³å´ã§ã¯ãã¼ã¿æ´æ°æã«ã¯ãã¹ã¿ãµã¼ãã¼ã¸æ¥ç¶ãããã¼ã¿åç §ã®ã¿ãè¡ãªãå ´åã¯ã¹ã¬ã¼ããµã¼ãã¼ã¸æ¥ç¶ããããã«ä½æããå¿ è¦ãããããWebãæºå¸¯é»è©±åããµã¼ãã¹ã®å ´åãå°ããªè¦æ¨¡ã§å§ãã¦ã¦ã¼ã¶ã¼è¦æ¨¡ããã¼ã¿è¦æ¨¡ããã¼ã¸ãã¥ã¼æ°ãå¾ã ã«å¢å ããã¦ãããã¨ãå¤ããå°ããªè¦æ¨¡ã®ããDBã®è² è·åæ£ãä¸è¦ãªå ´åã§ãããã¹ã¿ãµã¼ãã¼1å°ãã¹ã¬ã¼
æºå¸¯é»è©±åãã£ãªã¢ã¯ããã®ã²ã¼ãã¦ã§ã¤ã®IPã¢ãã¬ã¹å¸¯åãå ¬éãã¦ãã¾ãã DoCoMo au SoftBank WILLCOM æºå¸¯ãã©ã¦ã¶ããã®ã¢ã¯ã»ã¹ã®å ´åããã®IPã¢ãã¬ã¹ãã½ã¼ã¹ã¢ãã¬ã¹ã¨ãªãã®ã§ãã¢ã¯ã»ã¹å¶å¾¡ãå¤å¥ã®ããã«ä½¿ã£ã¦ããæ¹ã¯å¤ãã®ã§ã¯ãªããã¨æãã¾ãã ä»åã¯ããã®IPã¢ãã¬ã¹å¸¯ã®æ´æ°ãå¹ççã«ç¢ºèªããæ¹æ³ã«ã¤ãã¦ã®ã話ã§ãã æ´æ°ããããã©ããã®ç¢ºèªã ããªãã¢ã³ããç³»ã®Webãµã¼ãã¹ã使ãã°ããã®ã§ãããããã ãã ã¨ã ã©ã®IPã¢ãã¬ã¹å¸¯ã追å ã»åé¤ãããã®ããããã¥ããã IPã¢ãã¬ã¹å¸¯ã®ã³ãããé¢åãããã ã¨ãã£ãä¸æºç¹ãããã¾ãã ããã§Net::CIDR::MobileJPã¨ããPerlã®ã¢ã¸ã¥ã¼ã«ã®åºçªã§ãã(ä½è ã¯ã¢ãã¤ã«ãã¡ã¯ããªã¨ããä¼ç¤¾ã®æ¹ã®ããã§ã) ãã®ã¢ã¸ã¥ã¼ã«ã«ã¯ä¸ããIPã¢ãã¬ã¹ãæºå¸¯ãã©ãããå¤å¥ããæ©è½ãããã®ã§ããã次ã®ããã«ã
CGI ãä½æããä¸ã§ãããã¹ãããã¯ã¹ãã©ã¸ãªãã¿ã³ãªã©ã®ãã©ã¼ã ã«å ¥åãé¸æãããç¶æ ãåãè¾¼ããã¨ã¯é¿ãã¦ã¨ããã¾ããã ããã§ã¯ãå ¥åãã©ã¼ã ã®ãã¼ã¿ãã©ã®ããã« CGI ã§åãè¾¼ãã®ããç´¹ä»ãã¾ãã åå¿è åãã«åé ã§ã§ GET 㨠POST ã«ã¤ãã¦ã解説ãã¾ãã ç®æ¬¡ HTTP ã¡ã½ãã ãã©ã¼ã ãã¼ã¿ããµã¼ãã¼ã«éä¿¡ããæ¹æ³ (ã¡ã½ãã) ã«ã¯ GET ã¡ã½ãã㨠POST ã¡ã½ãããããã¾ãã HTTP ãããã³ã«ã§ã¯ãä»ã« PUT ã¡ã½ããã DELETE ã¡ã½ãããè¦å®ããã¦ãã¾ããã ãã©ã¦ã¶ã¼ã§å©ç¨ã§ããã®ã¯ GET ã¡ã½ãã㨠POST ã¡ã½ããã® 2 ã¤ã ãã§ãã GET ã¡ã½ãããã¯ãHTTP/0.9 ããè¦å®ããã¦ãããå½æã§ã¯ãã¼ã¿ããµã¼ãã¼ã«éä¿¡ããå¯ä¸ã®æ段ã§ããã ä»ã§ããã¼ã¿éä¿¡æ段ã¨ãã¦ä½¿ããã¦ãã¾ãããéä¿¡ãã¼ã¿ã URL ã¨ãã¦ãã©ã¦ã¶ã¼ã®
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}