John,
I did what you said, and it worked perfectly. I haven't tried mode batch tho.
The one thing I haven't yet figured out is what command would close the output window opened by MacPerl for various diags. Any idea ?
tell application "MacPerl" activate Do Script "print qq~\\a\\aBye!~" Close Window "MacPerl" end tell
Incidentally if you are using AppleScript/AE as the front end for Perl routines, which in my opinion is the best and fastest way to do things and demonstrably so, then Mac::Glue and all those things are quite redundant. My mileage doesn't vary on this issue, in case anyone fancies biting my head off :-)
JD