in reply to object inheritance in non ~.pm files
TMTOWTDI.
Without BEGIN, without use base, just move your packages to the top of the file, then have "package main" to start your main code. Then everything happens in order.