Help for this page
my $foo = Foo->new; print "foo is".($foo->isa( 'Bar' ) ? '' : ' _not_')." a Bar\n"; ... sub new { bless {},shift } __END__ $foo is _not_ a Bar