> I am using a test gear that uses a TCL api for automation. However, all > my test environment is in perl. Has anybody done any work in perl such > that they can call TCL API commands and capture both return codes and > other outputs. > > Every TCL API instruction that I use, would create a handle of some sort > (i.e. a value that can be use to destinguish the call in a unique > fashion). > > I have looked at a few TCL modules from CPAN but I am still looking for > some more guidance. Any help/reference or sample code would be welcome.
TCL is a scripting anguge. The API stands for Automation Programing Interface. In other words, API is a TCL library with some TCL Procedures that will need to be called from inside a TCL script in order to automate a given Task. What I need to do is to call those Procedures/subroutines from within my perl scripts and capture the output and return codes in perl.