SR has asked for the wisdom of the Perl Monks concerning the following question:
Now the thing I need is to run this script from inside Perl and display the titles alone in the perl GUI. Whenever I select the titles, the corresponding Expect code should be executed.#!/usr/bin/expect . . <Common Variables> . . [Title1] Code1 [Title2] Code2 . .
The problem is that the common variables are so large, that it cant be executed everytime. So what is required is a kind of way to embed expect interpreter inside perl code, so that the common variables already executed are in memory and only the code associated with the title needs to executed. Is there any way or solution for my problem?
Thanks
SR
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Expect
by friedo (Prior) on Dec 01, 2006 at 05:21 UTC | |
by SR (Novice) on Dec 01, 2006 at 05:27 UTC |