Perl extension for comparing lists
