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