http://www.perlmonks.org?node_id=315547


in reply to Re: Re: Re: Foo is not a Bar, why?
in thread Foo is not a Bar, why?

I'm on Perl 5.6.1, and it gives me:
Base class package "Bar" is empty. (Perhaps you need to 'use' the module which defines that packa +ge first.) at test.pl line 10 BEGIN failed--compilation aborted at test.pl line 10.
If I don't put the sub null {} in, but that wouldn't generally be a problem for a real situation because you'd almost always have something in the package.