So far my best idea is:
- have my Perl program running in the background
- put that input plus a cell reference in an invisible text field
- copy that text to clipboard
- let the Perl script listen for changes to the clipboard, and use that to update the data files
Can you think of a solution that's less ridiculous?