Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Need a test for deep equality

by Dog and Pony (Priest)
on Apr 20, 2002 at 11:08 UTC ( #160767=note: print w/replies, xml ) Need Help??


in reply to Need a test for deep equality

Maybe this isn't possible, but you could use something like Tie::IxHash to have the hashes always return the same order of keys.

Otherwise, perlfaq4 has examples on how to do this using FreezeThaw.

Maybe one of these might be what you need.


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160767]
help
Chatterbox?
QM waves to the peanut gallery, and wishes he were writing Perl today.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-06-29 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (657 votes). Check out past polls.