AnyEvent :: Callbackstack.

Áßø ÄݹéÀ» ÄÝ¹é ½ºÅÃÀ» »ç¿ëÇÏ¿© Àб⠽¬¿î ¾²±â ¹× À¯Áö º¸¼ö Á÷·Ä ½ºÅ¸ÀÏ·Î º¯È¯
Áö±Ý ´Ù¿î·Îµå

AnyEvent :: Callbackstack. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • BlueT - Matthew Lien
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~bluet/

AnyEvent :: Callbackstack. ű×


AnyEvent :: Callbackstack. ¼³¸í

AnyEvent :: CallBackstackÀº Áßø µÈ ÄݹéÀ» ½±°Ô Àб⠽±µµ·Ï ÄÝ¹é ½ºÅÃÀ» »ç¿ëÇÏ¿© ´ÙÀ½ ½ºÅ¸ÀÏ·Î AnyEvent :: CallbackstackÀ» »ç¿ëÇÏ¿© Àб⠽¬¿î ¾²±â ¹× À¯Áö º¸¼ö ½ºÅ¸ÀÏ·Î º¯È¯ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ±â´É 'say'; AnyEvent :: CallbackstackÀ» »ç¿ëÇϽʽÿÀ. MY $ CS = ANYEvent :: Callbackstack-> new (); $ CS-> ½ÃÀÛ (% foo); $ CS-> Ãß°¡ (ÇÏÀ§ {do_something; $ cs-> ´ÙÀ½ ($ bar, $ yohoo);}); $ cv = $ cs-> ¸¶Áö¸·; ¹Ýȯ $ CV; # ¶Ç´Â http_get http://bluet.org => sub {$ CS-> ½ÃÀÛ ($ _ )}; $ cs-> add (sub {say $ _ -> recv}); # ¶Ç´Â $ CS-> ADD (SUB {SANT '³ª´Â °øÀ» ¾ò¾ú½À´Ï´Ù. ", $ CS-> ´ÙÀ½ ($ _ -> recv));})'´ç½ÅÀÇ À̸§À» Àμâ ÇϽðڽÀ´Ï±î? : '; Chomp (³» $ in = ); $ CS-> ½ÃÀÛ ($ in); $ CS-> add (sub {say lucky you, $ _ -> recv "}); Á¦Ç°ÀÇ È¨ÆäÀÌÁö


AnyEvent :: Callbackstack. °ü·Ã ¼ÒÇÁÆ®¿þ¾î