Help for this page

Select Code to Download


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