in reply to Unevaling part of an eval block

cc => $config->get("AdminEmailCC"),
What does that method call do in a list context? If it returns an even number of items, you're in for a world of hurt.

Perhaps you really wanted:

cc => scalar $config->get("AdminEmailCC"),
which can't go wrong (at least in making the hash).