in reply to This can't happen, can it?
If you're looking for similar behavior without using method calls, you don't want inheritance at all. You should have the one package export function, i.e.,
Update: It's come to my attention that Spiffy supposedly exports things anyway. So I'm not sure what the problem is (since it clearly doesn't get exported in this example).package one; use base 'Exporter'; @EXPORT_OK = qw[ function ]; sub function { ... } package two; use one 'function'; function();
blokhead
|
|---|