Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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.


Comment on Re: Need a test for deep equality

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-09-23 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls