in reply to Inheritance not working

You need to "require" the modules that you are inheriting from.

In Project::Client::Mode::TestMode you need:

require Project::Client::Mode;

And, in Project::Client::Mode you need:

require Project::Client;

That should take care of the error.

- Matt Riffle