PDA

View Full Version : Perl interface




bascov
Feb 7, 2009, 08:04 PM
I am looking for a way to communicate with Perl from the Applescript application. Basically a GUI needed so ugly terminal won't show in a user's face (I personally like it).

Say, program will start Perl and when Perl asks a question - it should show in GUI. Question answered - it should be passed back to Perl and so on.

This is for Perl program installation.
Thanks!



HiRez
Feb 10, 2009, 01:35 PM
There's probably a way to do that, but it might be easier to let AppleScript (or AS Studio) drive it, then call into Perl to do processing?

ChrisA
Feb 10, 2009, 01:56 PM
I am looking for a way to communicate with Perl from the Applescript application....

Can Applescript read and write to "pipes". Perl can. You could open a pipe or even socket