Another syntax would be using backticks - see perldoc perlop.my $diff = qx| diff file1 file2 |;
In reply to Re: Using GNU diff in a PERL Script
by morgon
in thread Using GNU diff in a PERL Script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |