Home > Archive > PERL Miscellaneous > September 2006 > drive externally a tcl interpreter
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
drive externally a tcl interpreter
|
|
| Filippo 2006-09-26, 8:03 am |
| Hello,
I have a simulation tool (cadence) with TCL interpreter embedded to
control the simulation. Is it possible to write a Perl script that
control the TCL interpreter? I want to write commands to tcl
interpreter in order to be able to control the simulation with an
external Perl program.
Thanks,
Filippo
| |
| Ben Morrow 2006-09-27, 7:01 pm |
|
Quoth "Filippo" <filippo2991@virgilio.it>:
>
> I have a simulation tool (cadence) with TCL interpreter embedded to
> control the simulation. Is it possible to write a Perl script that
> control the TCL interpreter? I want to write commands to tcl
> interpreter in order to be able to control the simulation with an
> external Perl program.
I don't entirely understand what you want, but you may find the Expect
module on CPAN helpful. If not, you will have to tell us a little more
about how commands get fed to the TCL interpreter, and how any output
gets back out.
Ben
--
For far more marvellous is the truth than any artists of the past imagined!
Why do the poets of the present not speak of it? What men are poets who can
speak of Jupiter if he were like a man, but if he is an immense spinning
sphere of methane and ammonia must be silent?~Feynmann~benmorrow@tiscali.co.uk
|
|
|
|
|