Keep It Simple, Stupid | |
PerlMonks |
Re^3: Unit testing, context and wantarrayby GrandFather (Saint) |
on Aug 13, 2011 at 11:33 UTC ( [id://920166]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|