Exception Objects 

if(ref($@)  and  $@->isa('Exception::ICanHandle')) {
  # Do stuff
}
use Scalar::Util qw(blessed);

if(blessed($@)  and  $@->isa('Exception::ICanHandle')) {
  # Do stuff
}