Does Config::Any do what you want? I know it doesn't have any write methods, but that could be patched in.
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)