MWA asked about the simple option of using Inline rather than InlineX. First, as I mentioned, no matter what I try, I cannot get any examples in perldoc Inline or the C-Cookbook to work: every attempt to fiddle with the syntax leads to new error messages. (Note: when I tried the examples mentioned above, I copied and pasted, so typing errors are not the problem.) Second, one of the occasional warning messages says that Inline is deprecated, and that I should switch to InlineX. I am open to any suggestions, and will gladly take this up offline to avoid cluttering this site if that would be more efficient.