"Uninitialized" really means "has undef for value". Adding if (defined($exception->{exception})) { } or even just if ($exception->{exception}) { } will address the issue.
In reply to Re: Initialized Variable getting Uninitialized Warning
by ikegami
in thread Initialized Variable getting Uninitialized Warning
by drw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |