On Sat, Apr 30, 2011 at 11:22:57AM -0700, Parag Kalra wrote:
> Hi,
> 
> I am evaluating different approaches to compare data structures in Perl -
> i.e whether they are same or not.
> 
> I am planning to start wit:
> 
> 1. Data::Compare
> 
> 2. And then found this -
> http://stackoverflow.com/questions/1273616/how-do-i-compare-two-hashes-in-perl-without-using-datacompare
> 
> Any other options or suggestions?
> 
> I would like to use the most efficient.

Most efficient in terms of what?  Data::Compare seems to do what you
want.  It is established, tested, maintained, and has no outstanding
reported bugs.  Since you know about it, is there any reason to look any
further?

Why evaluate different approaches?  I suggest that the most efficient
use of your time would be to use Data::Compare, until you have a reason
not to.  Then you can wonder what to use instead.

-- 
Paul Johnson - [email protected]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to