DTRDR :: Ư¼º :: Ŭ·¡½º

DTRDR :: TRAITS :: CLASS´Â °øÀ¯ OO Àç·á°¡ÀÖ´Â PERL ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

DTRDR :: Ư¼º :: Ŭ·¡½º ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Eric Wilhelm
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~ewilhelm/dotReader-v0.11.2/lib/MultiTask/Minion.pm

DTRDR :: Ư¼º :: Ŭ·¡½º ű×


DTRDR :: Ư¼º :: Ŭ·¡½º ¼³¸í

DTRDR :: TRAITS :: CLASS´Â °øÀ¯ OO Àç·á°¡ÀÖ´Â PERL ¸ðµâÀÔ´Ï´Ù. DTRDR :: TRAITS :: CLASS´Â °øÀ¯ µÈ OO STUMP.METHODS°¡ÀÖ´Â PERL ¸ðµâÀ» ±âº» Ŭ·¡½º·Î ¹­¾î¾ßÇÕ´Ï´Ù. ¸Þ¼Òµå À̸§À» ÀÔ·ÂÇÏÁö ¾Ê¾Ò À½À» ³ªÅ¸³»´Â "¸Þ¼Òµå¸¦ ãÀ» ¼ö ¾øÀ½À» ³ªÅ¸³»´Â Ç¥ÁØ"¸Þ¼Òµå¸¦ ãÀ» ¼ö ¾øÀ½À» ³ªÅ¸³»´Â °Íº¸´Ù ¸ÚÁø ¸Þ½ÃÁö¸¦ Á¦°øÇÕ´Ï´Ù. sub virtual_method {³» $ self = shift; $ self-> not_implemented (@_);} °¡Ä¡°¡ ª°í ´ú ÀÐÀ» ¼öÀÖ´Â ¹öÀüÀÌ Àû¿ëµË´Ï±î? SUB VIREST_METHOD {$ _ -> not_implemented (@_ );} ÀÌ´Â ÇÏÀ§ Ŭ·¡½º°¡ ´ëü ¹× / ¶Ç´Â È£Ãâ·Î -> ½´ÆÛ ::¸¦ À§ÇØ ¾ÈÀüÇؾßÇÕ´Ï´Ù. ÀÌ°ÍÀº ÀÚµ¿·Îµå¿Í °°Àº °ÍÀ» Á¦°øÇÕ´Ï´Ù (È£ÃâÀÚ (1)) Á÷Á¢).ÇÏÁö¸¸ ±×°Ç Å×½ºÆ®µÇÁö ¾ÊÀ½ ... warn_not_implementedsame not_implemented (), ±×³É °æ°í ...¿¡ undef¸¦ ¹ÝȯÇÕ´Ï´Ù. $ self-> warn_not_implemented; Ŭ·¡½º È£ÇΠŬ·¡½º Çؽà ±â¹Ý ¿ÀºêÁ§Æ®. º¹»çº»À» ¸¸µé¾î ³½´Ù (ÇÑ ¼öÁØÀÇ ·¹º§ÀÇ ·¹º§ÀÇ ·¹º§)À» ¸¸µé°í ÆÐÅ°Áö·Î ÃູÇÕ´Ï´Ù. $ object = package-> Ŭ·¹ÀÓ ($ °´Ã¼); ¿ä±¸ »çÇ× : ¡¤ Perl.


DTRDR :: Ư¼º :: Ŭ·¡½º °ü·Ã ¼ÒÇÁÆ®¿þ¾î