Text::Diff 0.35
Sponsored Links
Text::Diff 0.35 Ranking & Summary
File size:
0.015 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
496
Date added:
2007-08-09
Publisher:
Barrie Slaymaker
Text::Diff 0.35 description
Text::Diff can perform diffs on files and record sets.
SYNOPSIS
use Text::Diff;
## Mix and match filenames, strings, file handles, producer subs,
## or arrays of records; returns diff in a string.
## WARNING: can return B
diffs for large files.
my $diff = diff "file1.txt", "file2.txt", { STYLE => "Context" };
my $diff = diff $string1, $string2, %options;
my $diff = diff *FH1, *FH2;
my $diff = diff &reader1, &reader2;
my $diff = diff @records1, @records2;
## May also mix input types:
my $diff = diff @records1, "file_B.txt";
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 systems 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 systems local diff executable, but it will be a valid diff and comprehensible by patch. We havent seen any differences between Algorithm::Diffs logic and GNU diffs, but we have not examined them to make sure they are indeed identical.
Note: If you dont want to import the diff function, do one of the following:
use Text::Diff ();
require Text::Diff;
Thats a pretty rare occurence, so diff() is exported by default.
SYNOPSIS
use Text::Diff;
## Mix and match filenames, strings, file handles, producer subs,
## or arrays of records; returns diff in a string.
## WARNING: can return B
my $diff = diff "file1.txt", "file2.txt", { STYLE => "Context" };
my $diff = diff $string1, $string2, %options;
my $diff = diff *FH1, *FH2;
my $diff = diff &reader1, &reader2;
my $diff = diff @records1, @records2;
## May also mix input types:
my $diff = diff @records1, "file_B.txt";
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 systems 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 systems local diff executable, but it will be a valid diff and comprehensible by patch. We havent seen any differences between Algorithm::Diffs logic and GNU diffs, but we have not examined them to make sure they are indeed identical.
Note: If you dont want to import the diff function, do one of the following:
use Text::Diff ();
require Text::Diff;
Thats a pretty rare occurence, so diff() is exported by default.
Text::Diff 0.35 Screenshot
Text::Diff 0.35 Keywords
Diff 0.35
GNU
Can Perform
diff
files
diffs
sets
record
perform
Text::Diff
TextDiff
Text::Diff 0.35
Libraries
Programming
Bookmark Text::Diff 0.35
Text::Diff 0.35 Copyright
WareSeeker periodically updates pricing and software information of Text::Diff 0.35 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::Diff 0.35 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
LibXDiff is designed as a library which implements basic and yet complete functionalities to create file differences/patches to both binary and text files. Free Download
Xfdiff is graphic interface to the GNU diff and patch commands. Free Download
The EDDIE Tool is a system monitoring, security and performance analysis agent developed entirely in Python. Free Download
libxmldiff aims at providing efficient diff on XML file Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
java-diff is a set of Java classes which implement the longest common subsequences algorithm. Free Download
Data::Diff is a data structure comparison module. Free Download
kdiff-ext is an extension for the Konqueror file manager that allows the user to launch diff and merge tools on selected files. Free Download
Latest Software
Popular Software
Favourite Software