in reply to Tree comparisons

For quick and dirty:
use Data::Dumper; print "same" if Dumper($hashref1) eq Dumper($hashref2);
:-)

Replies are listed 'Best First'.
Re^2: Tree comparisons
by shemp (Deacon) on Jun 22, 2004 at 22:10 UTC
    I really need the specific differences - in a structure similar to what im returning. This is part of a big data crunching system that cleans up government public record data.
      I wonder if doing the simple Dumper comparison first and only doing your bit if the first fails might save time?
        I just updated the root node, which will explain why i cannot use Dumper as you suggested. Good idea, just wont work for this app.