my $foo = Foo->new; print "foo is".($foo->isa( 'Bar' ) ? '' : ' _not_')." a Bar\n"; package Bar; sub null {} package Foo; use base Bar; sub new { bless {},shift }
In reply to Re: Re: Foo is not a Bar, why?
by Mr_Person
in thread Foo is not a Bar, why?
by liz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |