perl-Text-Diff
Perform diffs on files and record sets


'diff()' provides a basic set of services akin to the GNU 'diff' utility. It is not anywhere near as feature complete as GNU 'diff', but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system's 'diff' executable for small files, and generally slower on larger files. Relies on Algorithm::Diff for, well, the algorithm. This may not produce the same exact diff as a system's local 'diff' executable, but it will be a valid diff and comprehensible by 'patch'. We haven't seen any differences between Algorithm::Diff's logic and GNU 'diff''s, but we have not examined them to make sure they are indeed identical. *Note*: If you don't want to import the 'diff' function, do one of the following: use Text::Diff (); require Text::Diff; That's a pretty rare occurrence, so 'diff()' is exported by default. If you pass a filename, but the file can't be read, then 'diff()' will 'croak'.

Artistic-1.0 or GPL-1.0+

cloud_download Downloads

Please select a product to see the available package versions:
Architecture:
Loading...
Loading package downloads...
SUSE Liberty Linux 9 x86_64
1.45-13.el9 info
lock rpm
lock src
SUSE Liberty Linux 8 x86_64
1.45-7.module+el8.10.0+21354+3ad137bb info
lock rpm
lock src
1.45-7.module+el8.6.0+13324+628a2397 info
lock rpm
lock src
1.45-7.module+el8.3.0+6718+7f269185 info
lock rpm
lock src
1.45-2.el8 info
lock rpm
lock src
1.44-4.module+el8.1.0+2926+ce7246ad info
lock rpm
lock src
1.44-3.module+el8+6729+182a9251 info
lock rpm
lock src
SUSE Liberty Linux 7 x86_64
1.41-5.el7 info
lock rpm
lock src
SUSE Liberty Linux 10 x86_64
1.45-25.el10 info
lock rpm
lock src
1.45-24.el10 info
lock rpm
lock src