Perl interface

Discussion in 'Mac Programming' started by bascov, Feb 7, 2009.

  1. bascov
    Expand Collapse
    macrumors newbie

    Joined:
    Feb 7, 2009
    Location:
    USA
    #1
    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!
     
  2. HiRez
    Expand Collapse
    macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2
    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?
     
  3. ChrisA
    Expand Collapse
    macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #3
    Can Applescript read and write to "pipes". Perl can. You could open a pipe or even socket
     

Share This Page