Perl code can be embedded in Tcl?
Posted by saga (saga), 2 February 2007if possible, how?
Posted by admin (Graham Ellis), 2 February 2007Why?
Posted by saga (saga), 2 February 2007on unix/linux platform, Perl is used as a popular script language to perform everyday task.
Also in some other environments, such as testing communication devices, we use Tcl to complete many automatic testing tasks.
So I want to know if Perl and Tcl can invoke each other or not. I'm just curious.
Posted by admin (Graham Ellis), 3 February 2007They can invoke each other via "shell" or 'exec" type commands - in other words, you can run a Tcl program from within a Perl one and vice versa, just as you can cross-run any language. However, I don't think they embed in one another in quite the way that you can embed Python in Java to get Jython.
Posted by saga (saga), 5 February 2007thank you, Graham.
Other Forum Posts
Follow us on ...
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho