µ¥ÀÌÅÍ :: Iterator :: EasyObj.

¹è¿­ ¹è¿­À» ¹Ýº¹ÀÚ °´Ã¼·Î ÀüȯÇÕ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

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

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °Ô½ÃÀÚ À̸§:
  • Aaron James Trevena
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~teejay/

µ¥ÀÌÅÍ :: Iterator :: EasyObj. ű×


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

¹è¿­ ¹è¿­À» Iterator °´Ã¼·Î ÀüȯÇÕ´Ï´Ù µ¥ÀÌÅÍ :: Iterator :: EasyObj´Â µ¥ÀÌÅÍ :: iterator :: EasyObj °´Ã¼¸¦ Æ÷ÇÔÇÑ Ãß°¡ µ¥ÀÌÅÍ ±¸Á¶¸¦ ´õ ÀÌ»ó Áßø ÇÒ ¼öÀÖ´Â ÇÚµð iterator °´Ã¼·Î ¹è¿­À» ¸¸µå´Â Perl ¸ðµâÀÔ´Ï´Ù. Iterator °´Ã¼´Â ¹Ýº¹ÀÚ¿¡ Á÷Á¢ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. ³»¿ë¹° - °´Ã¼¸¦ »ç¿ëÇÒ ¶§ Çʵ带 Ãß°¡Çϰųª ¾÷µ¥ÀÌÆ® ÇÒ ¼öÀÖ´Â ±â´ÉÀ» Ãß°¡Çϰųª ¾÷µ¥ÀÌÆ® ÇÒ ¼ö ÀÖ½À´Ï´Ù. iterator °´Ã¼´Â µ¥ÀÌÅÍ ¼¼Æ®¸¦ ÆäÀÌ¡ ¶Ç´Â ±×·ìÈ­ÇÏ´Â µ¥ ÀÌ»óÀûÀ¸·Î ÀÏÁ¤ÇÑ Áïµµ Á¦Çѵǰųª ¿ÀÇÁ¼Â µÉ ¼öµµ ÀÖ½À´Ï´Ù. µ¥ÀÌÅÍ ¼³Á¤ :: Iterator :: EasyObj; My $ µ¥ÀÌÅÍ = , ; my $ fields = ; My $ iterator = data :: iterator :: EasyObj-> »õ ($ µ¥ÀÌÅÍ, $ Çʵå); $ iterator-> offset (2); $ iterator-> Á¦ÇÑ (4); while ($ iterator-> ´ÙÀ½) {$ iterator-> add_column ( '¿¢½ºÆ®¶ó'); $ iterator-> add_value ( '¿¢½ºÆ®¶ó', '¿©±â¿¡ Ãß°¡ Àç·á'); Àμâ "À̸§ :", $ iterator-> name (), "\ n"; while ($ iterator-> ·çÇÁ () -> ´ÙÀ½) {print ".."$ iterator-> ·çÇÁ () -> subaa (), "\ n"; } "Ãß°¡ :", $ iterator-> extra (), "\ n";} ¿ä±¸ »çÇ× : ¡¤ Perl.


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