in reply to Inheritance and exported methods

</code> From top to bottom (and without testing)

A. You might try something like:

use Agent::Log; sub import { goto &Log::Agent::import; }

in your subclass to export everything from Log::Agent to the caller (and your own class).

B. If you have a $Log::Agent::Driver var that the caller is relying on (and it is not exported by Log::Agent), you're out of luck, unless your subclass also uses $Log::Agent::Driver (maybe aliasing it:

*My::Log::Driver = \$Log::Agent::Driver #this is sort of what an export does

C. Built-in inheriting in perl only applies to methods.

-- Joost downtime n. The period during which a system is error-free and immune from user input.