* [Perl] COREã¨CORE::GLOBALã®éã FSWikiã®ãã©ã°ã¤ã³ãã¤ããéç¨ã§ãçµã¿è¾¼ã¿é¢æ°ã®ä¸æ¸ãã«ã¤ãã¦ã¡ãã£ã¨åå¼·ãPerlã®COREããã±ã¼ã¸ã¨CORE::GLOBALããã±ã¼ã¸ã®éãã"Programming Perl, 3rd ed"ã§ã触ãããã¦ããã®ã§ããããã®è¨äºã«ããå°ã詳ããéããåºã¦ãã¾ããè¦ã¯ãCORE::ã¯å¸¸ã«çµã¿è¾¼ã¿é¢æ°ãåç §ããããã©ãããã®é¢æ°ã¯å®éã«ã¯ãã®ã·ã³ãã«ãã¼ãã«ã«åå¨ãã¦ããããã§ã¯ãªãã®ã§ãCORE::ã使ã£ã¦ãªãã¡ã¬ã³ã¹ã¯åå¾ã§ããªããä»æ¹ãCORE::GLOBAL::ã¯æ¬å½ã®ããã±ã¼ã¸ã§ãããã使ã£ã¦å ¨åå空éã«ããã£ã¦çµã¿è¾¼ã¿é¢æ°ãç½®æã§ããã¨ãããã¨ã CORE::GLOBAL::exit = sub { print "this is exit!\n"; CORE::exit; # ãã£ã¡ã¯æ¬å½ã®çµã¿è¾¼ã¿é¢æ°ãæã
{{#tags}}- {{label}}
{{/tags}}