µ¥ÀÌÅÍ :: AsObject.

º¹ÀâÇÑ Perl µ¥ÀÌÅÍ ±¸Á¶¿¡ ´ëÇÑ ½¬¿î OO ¾×¼¼½º
Áö±Ý ´Ù¿î·Îµå

µ¥ÀÌÅÍ :: AsObject. ¼øÀ§ ¹× ¿ä¾à

±¤°í

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

µ¥ÀÌÅÍ :: AsObject. ű×


µ¥ÀÌÅÍ :: AsObject. ¼³¸í

º¹ÀâÇÑ Perl µ¥ÀÌÅÍ ±¸Á¶¿¡ °£ÆíÇÑ OO ¾×¼¼½º µ¥ÀÌÅÍ :: Asobject´Â º¹ÀâÇÏ°í ÀÓÀÇ·Î Áßø µÈ Perl µ¥ÀÌÅÍ ±¸Á¶¿¡ ´ëÇÑ ½¬¿î °´Ã¼ ÁöÇâ ¾×¼¼½º¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. XML :: Complie ¶Ç´Â XML :: TREEPP.Synopsis¿Í °°Àº ¸ðµâ¿¡ ÀÇÇØ »ý¼º µÈ °Íó·³ XML µ¥ÀÌÅÍÀÇ Çؽà ±â¹Ý Ç¥ÇöÀ¸·Î ÀÛ¾÷ÇÏ´Â µ¥ ÀûÇÕÇÑ ¹Ì¸³ÀÚÀÔ´Ï´Ù. µ¥ÀÌÅÍ :: AsObject QW (DAO)¸¦ »ç¿ëÇϽʽÿÀ. ³» $ book = dao {name => "programming perl", authors => ,}; Àμâ $ Ã¥ -> À̸§ # Àμ⹰ "ÇÁ·Î±×·¡¹Ö Perl"Àμâ $ Ã¥ -> ÀúÀÚ (0) # Àμ⹰ "Larry Wall"³» $ array_ref = $ book-> ÀúÀÚ # $ array_ref´Â my @array = $ book-> ÀúÀÚ # @ array´Â ( "·¡¸® º®", "Åè Å©¸®½ºÆ¼³ª", "jon orwant") $ book -> {publisher} = "O'Reilly"; $ Book-> °Ô½ÃÀÚ # Àμâ "O'Reilly"¿ä±¸ »çÇ×À» ÀμâÇÕ´Ï´Ù. ¡¤ Perl.


µ¥ÀÌÅÍ :: AsObject. °ü·Ã ¼ÒÇÁÆ®¿þ¾î