Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Regression test with nested data structures -- Or how to use Test::Deep?

by LanX (Canon)
on Oct 18, 2012 at 10:48 UTC ( #999704=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $h_data1 = {
             '756' => {                                   
    ...
                       'time' => '0.00639796257019043',         
                      }
                       };
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    
    is_deeply(ignore_fields($h_data1), ignore_fields($h_data2), "is_deeply
    +");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://999704]
Approved by Ratazong
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-09-17 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (54 votes), past polls