in reply to Perl Riddle
I can't trace your problem in detail right now, but I'd try saying
before the BEGIN block. Omit the use statement in the block.use vars '%ENGINES';
I remain uncertain about what our accomplishes, but I'm pretty sure that putting it in a BEGIN block restricts its scope.
Global variables ain't fashionable, but they have their uses in perl for class data and such.
After Compline,
Zaxo
In Section
Seekers of Perl Wisdom