Applying patch files using perl?

It should be simple

Is there a way to apply .patch files using perl?

I know I can use system I'm looking for a module or something like that. I looked at search.cpan.org , but I think I am not typing the correct search to get what I want if it exists.

Any help?

+4
source share
1 answer

I can come up with Text :: Patch .

You just need to read / write the source / patch files, as this module focuses on text in memory, not simple files.

+6
source

Source: https://habr.com/ru/post/1398886/


All Articles