Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Using Data::Dumper in Test-Driven Development

by pbeckingham (Parson)
on Aug 06, 2004 at 00:32 UTC ( [id://380419]=note: print w/replies, xml ) Need Help??


in reply to Re: Using Data::Dumper in Test-Driven Development
in thread Using Data::Dumper in Test-Driven Development

Or better yet, combine them both:

is (23, 42, "Discordia shoud have the answer") or diag "Error in some_code calculating the thing";
Despite my silly example, when some of the other variations of is are used, the got/expected output isn't always adequate.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found