in reply to Interfacing with menus

Use the Expect module. Expect is originally a tool built on-top of TK; designed to interact programatically with text applications (command line and full-screen) emulating a user. The perl Expect module encapsulates much of that functionality and is perfect for the kind of task you are trying to do.

Replies are listed 'Best First'.
RE: Re: Interfacing with menus
by merlyn (Sage) on Sep 28, 2000 at 20:40 UTC
    Not TK. TCL. TK is the widget set, originally developed for use with TCL, but now serving as a standalone X toolkit, including bindings for TCL, Perl, Python, and perhaps others. The "expect" program was written by Don Libes, and initially scriptable with TCL.

    -- Randal L. Schwartz, Perl hacker