[Israel.pm] The fastest way to compare arrays

Ernst, Yehuda yernst at nds.com
Sun May 14 23:52:02 PDT 2006

What about this?

Array::Compare - Perl extension for comparing arrays. 

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On Behalf Of Yossi.Itzkovich at ecitele.com
Sent: Monday, May 15, 2006 9:24 AM
To: Perl in Israel
Subject: [Israel.pm] The fastest way to compare arrays


I have two arrays of strings.

1. What's the fastest (writing,executing) way to compare the two arrays,
and just to know if they differ (like unix' cmp)?
2. Is there a way to get a nice (?) report about the differences between
the two (like unix' diff) ?



Perl mailing list
Perl at perl.org.il
This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.

More information about the Perl mailing list