in reply to •Re: What's the best way to put perl code in config file?
in thread What's the best way to put perl code in config file?

Personally creating a class would be my method of choice.

Depending on how you read them, plain config files can lead to all sorts of messy namespace pollution with incautious Exporting. Keeping things in a class tightens things up a bit and keeps it all clean. Much easier to keep things under the obligatory use strict as well :)