| Tangram :: Complicity Tangram :: complicity´Â Tangram-Friendly Ŭ·¡½º¸¦ ¸¸µå´Â ¹æ¹ý¿¡ ´ëÇÑ Perl ÀÚ½À¼ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Tangram :: Complicity ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~samv/
Tangram :: Complicity ű×
Tangram :: Complicity ¼³¸í
Tangram :: Complicity´Â Tangram Ä£ÈÀû ÀÎ ¼ö¾÷À» ¸¸µå´Â ¹æ¹ý¿¡ ´ëÇÑ Perl ÀÚ½À¼ÀÔ´Ï´Ù. Tangram :: Complicity´Â Tangram-Friendly Classes¸¦ ¸¸µå´Â ¹æ¹ý¿¡ ´ëÇÑ Perl ÀÚ½À¼ÀÔ´Ï´Ù .Synopsis ÆÐÅ°Áö YourAsyxsSclass; sub px_freeze {¹Ýȯ ; } sub px_thaw {my $ class = shift; ³» $ self = $ class-> new (@_); } 1; Tangram :: Complicity°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù. ¹®Á¦°¡ ¾ÇȵDZâ À§Çؼµµ ±¸ÇöµÇÁö´Â ¾Ê½À´Ï´Ù. ÀÌ ÆäÀÌÁö´Â ±×°ÍÀÌ °¡¸®Å°´Â Äڵ忡 ´ëÇÑ Å« °íÁ¤½ÄÀÔ´Ï´Ù. ÀÌ ÆäÀÌÁö´Â ´Ü¼øÈ÷ tangram :: type :: dump :: flatten.note¿¡¼ Ŭ·¡½º°¡ ¾ÈÀüÇÏ°Ô ÀúÀå ÇؾßÇÏ´Â API¸¦ ¹®¼ÈÇؾßÇÕ´Ï´Ù. µû¶ó¼ ¸®ÅÏ °ª¿¡¼ »ç¿ëµÇ´Â ÂüÁ¶ À¯ÇüÀÌ ½ÇÁ¦ °´Ã¼ÀÇ Çϳª¿Í µ¿ÀÏÇÏ°Ô ÇÊ¿äÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, PX_FREEZE ¸Þ¼µå°¡ÀÖ´Â set :: object °´Ã¼ÀÇ "Raftype Mismatch".soÀÇ °æ¿ì ³ªÁß¿¡ ¼³¸íÇÕ´Ï´Ù. sub px_freeze {my $ self = shift; $ self-> ȸ¿øÀ» µ¹·ÁÁÝ´Ï´Ù. } sub px_thaw {my $ class = shift; $ Ŭ·¡½º -> »õ (@_)¸¦ µ¹·ÁÁÝ´Ï´Ù. } À¸·Î Àü´ÞµÇ´Â ÀÌÀ¯ÀÔ´Ï´Ù. ´ëºÎºÐÀÇ »ç¶÷µé¿¡°Ô´Â Â÷À̸¦ ¸¸µéÁö ¾ÊÀ» °ÍÀÔ´Ï´Ù. ¸ðµç À¯ÇüÀÇ ¼ø¼öÇÑ Perl µ¥ÀÌÅÍ ±¸Á¶ (¿¹ : YamlÀÇ ¸ðµç ¹öÀü)¸¦ ó¸® ÇÒ ¼ö¾ø´Â Á÷·ÄÁÖ´Â Ãູ¹ÞÀº »óÁ¡À» ÀúÀåÇÒ ¼ö ¾ø½À´Ï´Ù. ½ºÄ®¶ó (¿¹ : Set :: Object). ¿ä±¸ »çÇ× : ¡¤ Perl.
Tangram :: Complicity °ü·Ã ¼ÒÇÁÆ®¿þ¾î