how to implement diff with perl

放肆的年华 提交于 2019-12-11 23:41:32

问题


any one may have an idea of realizing the function of "diff" command with perl? Thanks


回答1:


You can use the CPAN module Algorithm::Diff for computing the difference between two files or lists.




回答2:


There's a diff in the Perl Power Tools on CPAN.



来源:https://stackoverflow.com/questions/5498569/how-to-implement-diff-with-perl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!