try
to Avoid Errors
$tt3->try->process(...) || die "Oh noes! ", $tt3->error;
Thus Spake Andy:
If you don't like things throwing errors you can use the try
method to
catch them for you (or you can use your own eval
wrapper, but this is a
little easier and neater). This catches any exception thrown and returns
undef. You can inspect the error by calling the error()
method. The
try()
method is provided by the Badger::Base
base class so
it's available on all objects and can be used to prefix any method call.