| ÆÄÀÏ :: TreeBuilder. ÆÄÀÏ ¹× µð·ºÅ丮ÀÇ °£´ÜÇÑ Æ®¸® ±¸Ãà |
Áö±Ý ´Ù¿î·Îµå |
ÆÄÀÏ :: TreeBuilder. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Luc St-Louis
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~lucs/
ÆÄÀÏ :: TreeBuilder. ű×
ÆÄÀÏ :: TreeBuilder. ¼³¸í
ÆÄÀÏ ¹× µð·ºÅ丮ÀÇ °£´ÜÇÑ ³ª¹«¸¦ ¸¸µì´Ï´Ù File :: TreeBuilder´Â ÅؽºÆ® String.synopsis ÆÄÀÏ :: TreeBuilder QW (build_tree)¸¦ »ç¿ëÇÏ´Â ÆÄÀÏÀ» ¼³¸íÇÔÀ¸·Î½á ÆÄÀÏ ¹× µð·ºÅ丮ÀÇ ÀÛÀº Æ®¸®¸¦ ±¸ÃàÇÏ´Â µ¥ »ç¿ëµÇ´Â Perl ¸ðµâÀÔ´Ï´Ù. ¿ì¸®ÀÇ $ contents_str = 'bla'; build_tree ($ some_dir, q {/ "d2"; f_in_d2 ","f_in_top "/"f_in_top "/"spaces "."f_in_d1 ", $ contents_str."in ", $ contents_str}); ÀÌ´Â ´ÙÀ½ µð·ºÅ丮 ±¸Á¶¸¦ ¸¸µì´Ï´Ù. $ some_dir / "spaces°¡ÀÖ´Â"/ f_in_d1 #ÀÌ Æ÷ÇÔ µÈ 'bla'°¡ Æ÷ÇԵ˴ϴÙ. "D1ÀÇ °ø¹éÀÌÀÖ´Â F°¡ÀÖ´Â"BLA '°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. D2 / F_IN_D2 #Àº '³»¿ë'À» Æ÷ÇÔÇÕ´Ï´Ù. f_in_top # ºó ÆÄÀÏ (0 ¹ÙÀÌÆ®). ¿ä±¸ »çÇ× : ¡¤ Perl.
ÆÄÀÏ :: TreeBuilder. °ü·Ã ¼ÒÇÁÆ®¿þ¾î