in reply to
Using GNU diff in a PERL Script
my $diff = qx| diff file1 file2 |;
[download]
Another syntax would be using backticks - see perldoc perlop.
Comment on
Re: Using GNU diff in a PERL Script
Download
Code
In Section
Seekers of Perl Wisdom