Help for this page
use Exception::Class ( 'MyException' => { description => '' } ); ... __END__ I see you, exception class (boolean)! Nothing to see here (ne '').
use overload # an exception is always true bool => sub { 1 }, '""' => 'as_string', fallback => 1;