Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!

by fergal (Chaplain)
on Jul 20, 2005 at 20:12 UTC ( [id://476666]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!
in thread Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!

TS is the strictest possible comparison that doesn't involve comparing reference addresses, so if $x=[];$y=[] then TS will say that [$x,$x] is not the same as [$x,$y] because one is an array with 2 refs to 1 array and the other has refs to 2 different arrays. This is a valid difference. TD ignores this difference. TD also lets you do something a little bit like regular expressions for data structures.
  • Comment on Re^3: Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://476666]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.