2017-06-01ãã1ã¶æéã®è¨äºä¸è¦§
*nixã®exit statusã®ã»ãã³ãã£ã¯ã¹ã«ã¤ãã¦ãã¤ã¦è³ªåãã¦ï¼çãã¦ãã¦ããã£ã¦ãããã¨ãæãåºããã®ã§è¨ãã¾ãï¼ moznion [5:46 PM] signalåãåã£ã¦exitããæï¼ãã®signalã®å¤ããã®ã¾ã¾exit codeã«ä½¿ãï¼ã¿ãããªãä½æ³ã¿ãããªã®ã£ã¦ãããã§ããã£â¦
Perl5ã®è©±é¡ã§ãï¼ JSON::XSãç¨ãã¦ï¼JSON StringãPerlã®HashRefã«ãã·ãªã¢ã©ã¤ãºããæã«trueã¨falseã®æ±ããå¤ãããã¨ãã話ã§ãï¼ããã©ã«ãç¶æ ã§JSON::XSãç¨ãã¦ãã·ãªã¢ã©ã¤ãºããã¨ï¼ true 㯠Types::Serialiser::true ããªãã¡ JSON::PP::Booleaâ¦
Perl5ã®è©±é¡ã§ãï¼List::Haystackã¨ãããã®ãæ¸ãã¾ããï¼CPANã«ãã¢ãããã¼ããã¦ãã¾ãï¼ çµç·¯ã¨ãã¦ã¯ä»¥ä¸ï¼Perlï¼immutableãªæãã§ï¼List (Array) ä¸ããè¦ç´ ãfindãããï¼åºç¾åæ°ãåãã¢ã¸ã¥ã¼ã«ã£ã¦åå¨ãã¦ãããã§ããã£ãâ ãããªãã¯ã¤ã¡ã¼â¦
sub func { return 100; } ã¿ãããªãµãã«ã¼ãã³ããã£ãæã«ï¼ say(func - 99); ã¿ãããªæãã§å¼ã³åºãã¨ï¼ããã¨è¦ 1 ãåºåããããã«è¦ãããï¼å®é㯠100 ãåºåãããï¼ ãã㯠- 99 ã func ã®å¼æ°ã¨ãã¦è§£éããã¦é£ãããããã§ããï¼ B::Deparse â¦