Interesting, thanks for the references; I was familiar with neither, and they both look to aid in such design. Module::Load may well do what I need; Module::Pluggable seems more flexible, although a bit overkill for this project, but it may serve well in future endeavors.
Thanks for the information; I've included some additional findings I've made from playing with this module, and follow-up comments. I'm content that both solutions appear to work, and in my case equally well without significant benefit either way. Update: As pointed out by the Anonymous Monk below, string eval is still processed as a mini-program, leading to additional protections supplied by a more full-featured wrapper. Thanks!
(Update: readmore tags.) My detailed discovery thus far:
|