# Stats2.pm
# Derived "Stats" with some functionalities added

package Stats3;

@ISA = ('Stats2');	# inherits Stats
use Stats2;

# Note that by using the 2-argument form of 
# bless() the constructor can also be inherited

# Override addValue()
sub test {
	my $this = $_[0];
	print ($this->isa('UNIVERSAL')?'true':'false', "\n");
	$subref = $this->can('isa');
	print ($this->$subref('UNIVERSAL')?'true':'false', "\n");
}

1;
