Following a suggestion by Doug Baron, I've implemented a module that translates Perl procedure calls into "subroutine AppleEvents", i.e., in the script use Mac::Frontier(Hello); Hello("dolly"); the Perl call gets translated into an AppleEvent ascr\psbr{snam:"Hello", '----':["dolly"]} which then gets sent to the MacPerl application itself. At this point, Frontier is supposed to step in and execute one of its own verbs in response to this. However, I have no idea how to tell Frontier to do this. I wrote a Frontier verb: on Hello () { return "Hello, World!"} but how am I supposed to tell Frontier to execute this verb in response to the MacPerl subroutine event? Matthias ----- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "Whenever I think of program maintenance, I conjure up a picture of the Great Dust Bowl of the 30's. We have seen thousands of stirring films on "How the West was Won" but who wants to see a film on "How the West was Make Liveable After It was Won"? There was one such film, Grapes of Wrath. Pretty depressing too. " ----- Gerald M. Weinberg