Sebastian Hagedorn
2008-02-28 10:02:29 UTC
Hi,
i have to compare two files with eachother and work out the differences.
I found the module Text::Diff, that would do this task fine, as it says
on the description.
I tried it like that:
use Text::Diff;
my $d = Algorithm::Diff->new (@array1, @array2);
but it throws me this Error:
Can't use string ("w") as a HASH ref while "strict refs" in use at
$perlpath/lib/Text/Diff.pm line 589.
Can anyone tell me, what is wrong on that?
i have to compare two files with eachother and work out the differences.
I found the module Text::Diff, that would do this task fine, as it says
on the description.
I tried it like that:
use Text::Diff;
my $d = Algorithm::Diff->new (@array1, @array2);
but it throws me this Error:
Can't use string ("w") as a HASH ref while "strict refs" in use at
$perlpath/lib/Text/Diff.pm line 589.
Can anyone tell me, what is wrong on that?