> But if everything > is in the autoload file there's no way to get the autoload definitions > without changing global variables.
I don't understand what you mean by this, could you clarify with an example scenario?