The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings FATAL => 'all';

use t::std;

check_test(
    sub { cmp_deeply('Foo', isa('Foo')) },
    {
        actual_ok => 0,
        diag => <<EOM,
Checking class of \$data with isa()
   got : 'Foo'
expect : blessed into or ref of type 'Foo'
EOM
    },
    'isa on a string'
);