in reply to
Re^3: sending a scalar to the interpreter as a command
in thread sending a scalar to the interpreter as a command
My apologies to BrowserUK whose earlier post I missed somehow.
Your solution seems to do everything I needed to do. I'll play around with it and let you know if I have any additional questions, but that seems to work for now. Thanks so much!
Thanks to everyone else, too, for your excellent suggestions. Clearly, I need to pay more attention to glob and look for more opportunities to take advantage of its functionality.