http://www.perlmonks.org?node_id=988956

kuldeek has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

I am writing scripts in perl and need to automate few IXIA related stuff. IXIA has TCL based API's. Can someone help me understand, how I can call those API's inside my perl scripts or if there is a way to write a wrapper for TCL API's in perl.

Regards, Kuldeep Kumar.

  • Comment on Need Help: invoking TCL procedure in perl scripts.

Replies are listed 'Best First'.
Re: Need Help: invoking TCL procedure in perl scripts.
by rovf (Priest) on Aug 22, 2012 at 08:09 UTC
Re: Need Help: invoking TCL procedure in perl scripts.
by zeni (Beadle) on Aug 22, 2012 at 11:03 UTC
    What is the language used? If the API code is written using C++ you can use SWIG interface to invoke APIs.
      These APIs are plain TCL code. It is like calling TCL proc in a perl script.
        Then you could simply call the TCL code from perl using the TCL CPAN module.