| ¾Ë°í¸®Áò :: diff :: Àû¿ë ALGORITHM :: DIFF :: APPLY´Â Çϳª ÀÌ»óÀÇ ¾Ë°í¸®Áò :: DIFF DIFFS¸¦ Àû¿ëÇÏ´Â PERL ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
¾Ë°í¸®Áò :: diff :: Àû¿ë ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Andrew Chadwick
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~andrewc/Algorithm-Diff-Apply-0.2.3/lib/Algorithm/Diff/Apply.pod
¾Ë°í¸®Áò :: diff :: Àû¿ë ű×
¾Ë°í¸®Áò :: diff :: Àû¿ë ¼³¸í
¾Ë°í¸®Áò :: diff :: Apply´Â Çϳª ÀÌ»óÀÇ ¾Ë°í¸®Áò :: diff diffs¸¦ Àû¿ëÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. algorithm :: diff :: apply Çϳª ÀÌ»óÀÇ ¾Ë°í¸®Áò :: diff diffs.synopsis ## ½Ì±Û - diff ¾ç½ÄÀ» Àû¿ëÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. algorithm :: diff :: qw {apply_diff} Àû¿ë; ³» @ary = ...; ³» @diff = ...; # algorithm :: diff :: diff () @changed_ary = apply_diff (@diff); MY $ changed_ary = apply_diff (@ @diff); ## Àû¿ëÇÏ·Á¸é ÇÑ ¹ø¿¡ 1 diff, º¹¼öÇü ¾ç½ÄÀ» »ç¿ëÇϽʽÿÀ. algorithm :: diff :: qw {apply_diffs} Àû¿ë; @newary = apply_diffs (@ @ @ diff1_name => @ diff1, diff2_name => @ diff2, ... diffn_name => @diffn); # ¶Ç´Â @newary = apply_diffs (@ary, % named_diffs); # ½ºÄ®¶ó ÄÁÅؽºÆ® : $ neadary = apply_diffs (@ary, % named_diffs); # È®Àå Àμö ±¸¹® : $ newary = apply_diffs (@ary, {resolver => some_sub, optimisers => , key_generator => anothersub, opt4 => ..., opt5 => ...,}, % named_diffs); ¿ä±¸ »çÇ× : ¡¤ Perl.
¾Ë°í¸®Áò :: diff :: Àû¿ë °ü·Ã ¼ÒÇÁÆ®¿þ¾î