Provide a more concise way to construct status objects
Configuration, Error-handling, Localization and Logging
Brought to you by:
smithfarm
ATM status objects must be constructed verbosely by calling App::CELL::Status->new( ... ) -- think about alternative ways to construct status objects. For example, the $CELL singleton could be used like this:
$status = $CELL->status_info( 'FOOBAR_MESSAGE', args => [ ... ] );
return $CELL->status_err( 'FOO_ERROR_45534', args => [ ... ] );
Diff:
as of 0.154 we have a "constructor factory" in CELL.pm that makes
status_$level
functions so we can do, e.g.