[grinding through a couple days worth of backlogged mail] "Ed D. Wright" <ewright@spice.jpl.nasa.gov> says: } } To: MacPerl Digest } From: Ed Wright JPL } } I have a question concerning the use of MacPerl via AppleScript. I } have read the faqs describing this but am still having a few } problems. } } The situation is this... I have a fairly long and involved PERL } script (ported from UNIX) which performs a set of text } replacement/syntax checking functions on a given text file. PERL is } ideal for what I am doing and the script works well. This script is } a droplet at the moment, but I would rather have the PERL code as } part of an AppleScript so I can perform some file manipulations via } AS (perhaps later Frontier as well) which MacPerl cannot handle. What exactly is it that MacPerl can't handle? I doesn't do resource forks very well, but most other things it can do. If it's just a text file, what's the Applescript for? } } I realize the more prosaic way to solve this problem is to have AS } call the droplet with the correct file name, but that seems rather } inelegant, and I want to do this in a single script file if possible. } } Any suggestions? It's hard to answer without an inkling of what you're trying to do, but since it sounds like MacPerl is going to do the heavy lifting, have you considered using MacPerl::DoAppleScript to run the Applescript from inside MacPerl? } } As always, } Ed Wright JPL } --- -------- Paul J. Schinder NASA Goddard Space Flight Center, Code 693, Greenbelt, MD 20771 USA schinder@pjstoaster.pg.md.us