Base class package "Foo::Bar::XYZ" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in @INC (@INC contains: ...