Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
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 having an uproarious good time at the Monastery: (12)
As of 2014-04-21 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (498 votes), past polls