Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Using Data::Dumper in Test-Driven Development

by dws (Chancellor)
on Aug 05, 2004 at 06:59 UTC ( [id://380203]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $thing = Thing->new(model => $model);
      print Dumper $thing;
      ok( $thing->model, $model );
    
  2. or download this
      $thing->do_something_interesting();
      # the thing's model shouldn't have changed
      ok( $thing->model, $model ) or print Dumper $thing;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://380203]
Approved by etcshadow
Front-paged by dfaure
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-25 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found