First and foremost: know what you're doing! Secondly, while you should avoid using eval, if its use makes for cleaner code, go ahead.
eval