I am coming back to MacPerl and this forum after quite a long break. I would like to use macperl as a text parsing filter where OneClick acts as the conduit and the action of macperl is transparent. I want to avoid application switching, if possible. Assuming I have captured some text in a OneClick variable -- how would I pass this text as input to a macperl script and return the result to a OneClick/AppleScript global? Potential methods that I see: 1) use OneClick to write the text to a temporary file with a constant name. Run the perl script which reads that file as input. 2) From AppleScript, use Do Script "MacPerl::Reply('myscript')". The text to be parsed could be inserted in the script string in the special __DATA__ section. Is there a limitation to the length of the perl script passed to the Do Script command? thnx, -- mpm