in reply to Crazy constant question...

For your information, the inlining has two conditions: the sub needs a prototype of (), and the content needs to be a constant. So it would have to be something like:
*thing = eval "sub () { '$value' }"

Though calling import from constant is certainly the better solution.