Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Unit testing, context and wantarray

by GrandFather (Saint)
on Aug 13, 2011 at 11:33 UTC ( [id://920166]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Unit testing, context and wantarray
in thread Unit testing, context and wantarray

As a general thing though, one may often call a method in a void context and expect something expensive to happen (connecting to a remote database for example), especially if you use exception handling to manage errors rather than passing error states back.

True laziness is hard work
  • Comment on Re^3: Unit testing, context and wantarray

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found