Simple module to uniform and better manage error calls across a perl program