in reply to Config files

as usual... use Super Search first.
Config::IniFiles or Config file parser might help you.

putting the whole config into an array should be the best idea.

-- package Lizard::King; sub can { do { 'anything'} };